Enumeration MediaPlayerError

Error codes of the media player.

Enumeration Members

PlayerErrorCodecNotSupported: -7

-7: The codec is not supported.

PlayerErrorInternal: -2

-2: Internal error.

PlayerErrorInterrupted: -13

-13: The playback is interrupted.

PlayerErrorInvalidArguments: -1

-1: Invalid arguments.

PlayerErrorInvalidConnectionState: -11

-11: Invalid connection between the player and the Agora Server.

PlayerErrorInvalidMediaSource: -4

-4: Invalid media resource.

PlayerErrorInvalidState: -9

-9: An error with the internal state of the player occurs.

PlayerErrorNoResource: -3

-3: No resource.

PlayerErrorNone: 0

0: No error.

PlayerErrorNotSupported: -14

-14: The SDK does not support the method being called.

PlayerErrorObjNotInitialized: -6

-6: The object is not initialized.

PlayerErrorSrcBufferUnderflow: -12

-12: The playback buffer is insufficient.

PlayerErrorTokenExpired: -15

-15: The authentication information of the media resource is expired.

PlayerErrorUnknown: -17

-17: An unknown error.

PlayerErrorUnknownStreamType: -5

-5: The media stream type is unknown.

PlayerErrorUrlNotFound: -10

-10: The URL of the media resource cannot be found.

PlayerErrorVideoRenderFailed: -8

-8: Invalid renderer.

Generated using TypeDoc