MediaPlayerReason

Reasons for the changes in the media player status.

Enumerator

PlayerReasonNone
0: No error.
PlayerReasonInvalidArguments
-1: Invalid arguments.
PlayerReasonInternal
-2: Internal error.
PlayerReasonNoResource
-3: No resource.
PlayerReasonInvalidMediaSource
-4: Invalid media resource.
PlayerReasonUnknownStreamType
-5: The media stream type is unknown.
PlayerReasonObjNotInitialized
-6: The object is not initialized.
PlayerReasonCodecNotSupported
-7: The codec is not supported.
PlayerReasonVideoRenderFailed
-8: Invalid renderer.
PlayerReasonInvalidState
-9: An error with the internal state of the player occurs.
PlayerReasonUrlNotFound
-10: The URL of the media resource cannot be found.
PlayerReasonInvalidConnectionState
-11: Invalid connection between the player and the Agora Server.
PlayerReasonSrcBufferUnderflow
-12: The playback buffer is insufficient.
PlayerReasonInterrupted
-13: The playback is interrupted.
PlayerReasonNotSupported
-14: The SDK does not support the method being called.
PlayerReasonTokenExpired
-15: The authentication information of the media resource is expired.
PlayerReasonUnknown
-17: An unknown error.