MEDIA_PLAYER_REASON
Reason for media player state changes.
Enumerations
- PLAYER_REASON_NONE
- (0): No error.
- PLAYER_REASON_INVALID_ARGUMENTS
- (-1): Invalid arguments.
- PLAYER_REASON_INTERNAL
- (-2): Internal error.
- PLAYER_REASON_NO_RESOURCE
- (-3): Insufficient resources.
- PLAYER_REASON_INVALID_MEDIA_SOURCE
- (-4): Invalid media source.
- PLAYER_REASON_UNKNOWN_STREAM_TYPE
- (-5): Unknown media stream type.
- PLAYER_REASON_OBJ_NOT_INITIALIZED
- (-6): Object not initialized.
- PLAYER_REASON_CODEC_NOT_SUPPORTED
- (-7): Codec not supported.
- PLAYER_REASON_VIDEO_RENDER_FAILED
- (-8): Invalid renderer.
- PLAYER_REASON_INVALID_STATE
- (-9): Invalid internal state of the player.
- PLAYER_REASON_URL_NOT_FOUND
- (-10): Media resource URL not found.
- PLAYER_REASON_INVALID_CONNECTION_STATE
- (-11): Invalid connection state between the player and Agora server.
- PLAYER_REASON_SRC_BUFFER_UNDERFLOW
- (-12): Insufficient playback buffer.
- PLAYER_REASON_INTERRUPTED
- (-13): Playback interrupted.
- PLAYER_REASON_NOT_SUPPORTED
- (-14): The method is not supported by the SDK.
- PLAYER_REASON_TOKEN_EXPIRED
- (-15): Token has expired.
- PLAYER_REASON_IP_EXPIRED
- (-16): IP has expired.
- PLAYER_REASON_UNKNOWN
- (-17): Unknown error.