MediaPlayerReason

Reason for media 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.
playerReasonVideoRenderFailed
-8: Invalid renderer.
playerReasonInvalidState
-9: Invalid internal player state.
playerReasonUrlNotFound
-10: URL not found.
playerReasonInvalidConnectionState
-11: Invalid connection between player and Agora server.
playerReasonSrcBufferUnderflow
-12: Insufficient playback buffer data.
playerReasonInterrupted
-13: Playback was interrupted abnormally and ended.
playerReasonNotSupported
-14: SDK does not support this API call.
playerReasonTokenExpired
-15: Authentication information for the media resource network path has expired.
playerReasonUnknown
-17: Unknown error.