AgoraMediaPlayerError Constants Reference
Declared in | AgoraMediaPlayerKit.h |
---|
AgoraMediaPlayerError
AgoraMediaPlayerError, reporting the player’s error code.
Definition
typedef NS_ENUM(NSInteger, AgoraMediaPlayerError ) {
AgoraMediaPlayerErrorNone = 0,
AgoraMediaPlayerErrorInvalidArguments = -1,
AgoraMediaPlayerErrorInternal = -2,
AgoraMediaPlayerErrorNoSource = -3,
AgoraMediaPlayerErrorInvalidMediaSource = -4,
AgoraMediaPlayerErrorUnknowStreamType = -5,
AgoraMediaPlayerErrorObjNotInitialized = -6,
AgoraMediaPlayerErrorCodecNotSupported = -7,
AgoraMediaPlayerErrorVideoRenderFailed = -8,
AgoraMediaPlayerErrorInvalidState = -9,
AgoraMediaPlayerErrorUrlNotFound = -10,
AgoraMediaPlayerErrorInvalidConnectState = -11,
AgoraMediaPlayerErrorSrcBufferUnderflow = -12,
};
Constants
AgoraMediaPlayerErrorNone
-
0
: No error.Declared In
AgoraMediaPlayerKit.h
. AgoraMediaPlayerErrorInvalidArguments
-
-1
: Invalid arguments.Declared In
AgoraMediaPlayerKit.h
. AgoraMediaPlayerErrorInternal
-
-2
: Internal error.Declared In
AgoraMediaPlayerKit.h
. AgoraMediaPlayerErrorNoSource
-
-3
: No resource.Declared In
AgoraMediaPlayerKit.h
. AgoraMediaPlayerErrorInvalidMediaSource
-
-4
: Invalid media resource.Declared In
AgoraMediaPlayerKit.h
. AgoraMediaPlayerErrorUnknowStreamType
-
-5
: The type of the media stream is unknown.Declared In
AgoraMediaPlayerKit.h
. AgoraMediaPlayerErrorObjNotInitialized
-
-6
: The object is not initialized.Declared In
AgoraMediaPlayerKit.h
. AgoraMediaPlayerErrorCodecNotSupported
-
-7
: The codec is not supported.Declared In
AgoraMediaPlayerKit.h
. AgoraMediaPlayerErrorVideoRenderFailed
-
-8
: Invalid renderer.Declared In
AgoraMediaPlayerKit.h
. AgoraMediaPlayerErrorInvalidState
-
-9
: Error occurs in the internal state of the player.Declared In
AgoraMediaPlayerKit.h
. AgoraMediaPlayerErrorUrlNotFound
-
-10
: The URL of the media resource can not be found.Declared In
AgoraMediaPlayerKit.h
. AgoraMediaPlayerErrorInvalidConnectState
-
-11
: Invalid connection between the player and Agora’s Server.Declared In
AgoraMediaPlayerKit.h
. AgoraMediaPlayerErrorSrcBufferUnderflow
-
-12
: The playback buffer is insufficient.Declared In
AgoraMediaPlayerKit.h
.
Declared In
AgoraMediaPlayerKit.h