MediaPlayerReason

Reason for player state change.

Enumerations

PlayerReasonNone
0: No error.
PlayerReasonInvalidArguments
-1: Invalid arguments.
PlayerReasonInternal
-2: Internal error.
PlayerReasonNoResource
-3: No resource.
PlayerReasonInvalidMediaSource
-4: Invalid resource.
PlayerReasonUnknownStreamType
-5: Unknown media stream type.
PlayerReasonObjNotInitialized
-6: Object not initialized.
PlayerReasonCodecNotSupported
-7: Codec not supported by decoder.
PlayerReasonVideoRenderFailed
-8: Invalid renderer.
PlayerReasonInvalidState
-9: Internal player state error.
PlayerReasonUrlNotFound
-10: URL not found.
PlayerReasonInvalidConnectionState
-11: Invalid connection between player and Agora server.
PlayerReasonSrcBufferUnderflow
-12: Insufficient data in playback buffer.
PlayerReasonInterrupted
-13: Playback interrupted abnormally and ended.
PlayerReasonNotSupported
-14: API call not supported by the SDK.
PlayerReasonUnknown
-17: Unknown error.