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.