MediaPlayerError

Error codes of the media player.

Enumerator

playerErrorNone
0: No error.
playerErrorInvalidArguments
-1: Invalid arguments.
playerErrorInternal
-2: Internal error.
playerErrorNoResource
-3: No resource.
playerErrorInvalidMediaSource
-4: Invalid media resource.
playerErrorUnknownStreamType
-5: The media stream type is unknown.
playerErrorObjNotInitialized
-6: The object is not initialized.
playerErrorCodecNotSupported
-7: The codec is not supported.
playerErrorVideoRenderFailed
-8: Invalid renderer.
playerErrorInvalidState
-9: An error with the internal state of the player occurs.
playerErrorUrlNotFound
-10: The URL of the media resource cannot be found.
playerErrorInvalidConnectionState
-11: Invalid connection between the player and the Agora Server.
playerErrorSrcBufferUnderflow
-12: The playback buffer is insufficient.
playerErrorInterrupted
-13: The playback is interrupted.
playerErrorNotSupported
-14: The SDK does not support the method being called.
playerErrorTokenExpired
-15: The authentication information of the media resource is expired.
playerErrorUnknown
-17: An unknown error.