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 the player and Agora server.
PlayerReasonSrcBufferUnderflow
-12: Insufficient data in the playback buffer.
PlayerReasonInterrupted
-13: Playback was interrupted abnormally and ended.
PlayerReasonNotSupported
-14: Unsupported API call by the SDK.
PlayerReasonTokenExpired
-15: Authentication information for the media resource network path has expired.
PlayerReasonUnknown
-17: Unknown error.