pjsua_player_destroy method

int pjsua_player_destroy(
  1. int id
)

Close the file of playlist, remove the player from the bridge, and free resources associated with the file player or playlist.

@param id The file player ID.

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

Implementation

int pjsua_player_destroy(
  int id,
) {
  return _pjsua_player_destroy(
    id,
  );
}