pjsua_player_get_pos method

int pjsua_player_get_pos(
  1. int id
)

Get playback position. This operation is not valid for playlist.

@param id The file player ID.

@return The current playback position, in samples. On error, return the error code as negative value.

Implementation

int pjsua_player_get_pos(
  int id,
) {
  return _pjsua_player_get_pos(
    id,
  );
}