Enumeration MediaPlayerReason

Reasons for the changes in the media player status.

Enumeration Members

PlayerReasonCodecNotSupported: -7

-7: The codec is not supported.

PlayerReasonInternal: -2

-2: Internal error.

PlayerReasonInterrupted: -13

-13: The playback is interrupted.

PlayerReasonInvalidArguments: -1

-1: Invalid arguments.

PlayerReasonInvalidConnectionState: -11

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

PlayerReasonInvalidMediaSource: -4

-4: Invalid media resource.

PlayerReasonInvalidState: -9

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

PlayerReasonNoResource: -3

-3: No resource.

PlayerReasonNone: 0

0: No error.

PlayerReasonNotSupported: -14

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

PlayerReasonObjNotInitialized: -6

-6: The object is not initialized.

PlayerReasonSrcBufferUnderflow: -12

-12: The playback buffer is insufficient.

PlayerReasonTokenExpired: -15

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

PlayerReasonUnknown: -17

-17: An unknown error.

PlayerReasonUnknownStreamType: -5

-5: The media stream type is unknown.

PlayerReasonUrlNotFound: -10

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

PlayerReasonVideoRenderFailed: -8

-8: Invalid renderer.

Generated using TypeDoc