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.
PlayerErrorUnknown
-17: An unknown error.