pjsua_player_set_pos method

int pjsua_player_set_pos(
  1. int id,
  2. int samples
)

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

@param id The file player ID. @param samples The playback position, in samples. Application can specify zero to re-start the playback.

@return PJ_SUCCESS on success, or the appropriate error code.

Implementation

int pjsua_player_set_pos(
  int id,
  int samples,
) {
  return _pjsua_player_set_pos(
    id,
    samples,
  );
}