MEDIA_PLAYER_REASON

Reasons for the changes in the media player status.

Enumerator

PLAYER_REASON_NONE
0: No error.
PLAYER_REASON_INVALID_ARGUMENTS
-1: Invalid arguments.
PLAYER_REASON_INTERNAL
-2: Internal error.
PLAYER_REASON_NO_RESOURCE
-3: No resource.
PLAYER_REASON_INVALID_MEDIA_SOURCE
-4: Invalid media resource.
PLAYER_REASON_UNKNOWN_STREAM_TYPE
-5: The media stream type is unknown.
PLAYER_REASON_OBJ_NOT_INITIALIZED
-6: The object is not initialized.
PLAYER_REASON_CODEC_NOT_SUPPORTED
-7: The codec is not supported.
PLAYER_REASON_VIDEO_RENDER_FAILED
-8: Invalid renderer.
PLAYER_REASON_INVALID_STATE
-9: An error with the internal state of the player occurs.
PLAYER_REASON_URL_NOT_FOUND
-10: The URL of the media resource cannot be found.
PLAYER_REASON_INVALID_CONNECTION_STATE
-11: Invalid connection between the player and the Agora Server.
PLAYER_REASON_SRC_BUFFER_UNDERFLOW
-12: The playback buffer is insufficient.
PLAYER_REASON_INTERRUPTED
-13: The playback is interrupted.
PLAYER_REASON_NOT_SUPPORTED
-14: The SDK does not support the method being called.
PLAYER_REASON_UNKNOWN
-17: An unknown error.