AgoraMediaPlayerError Constants Reference
Declared in | AgoraMediaPlayerKit.h |
---|
AgoraMediaPlayerError
AgoraMediaPlayerError,播放器的错误码
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
: 没有错误Declared In
AgoraMediaPlayerKit.h
. AgoraMediaPlayerErrorInvalidArguments
-
-1
: 不正确的参数Declared In
AgoraMediaPlayerKit.h
. AgoraMediaPlayerErrorInternal
-
-2
: 内部错误Declared In
AgoraMediaPlayerKit.h
. AgoraMediaPlayerErrorNoSource
-
-3
: 没有 resourceDeclared In
AgoraMediaPlayerKit.h
. AgoraMediaPlayerErrorInvalidMediaSource
-
-4
: 无效的 resourceDeclared In
AgoraMediaPlayerKit.h
. AgoraMediaPlayerErrorUnknowStreamType
-
-5
: 未知的媒体流类型Declared In
AgoraMediaPlayerKit.h
. AgoraMediaPlayerErrorObjNotInitialized
-
-6
: 对象没有初始化Declared In
AgoraMediaPlayerKit.h
. AgoraMediaPlayerErrorCodecNotSupported
-
-7
: 解码器不支持该 codecDeclared In
AgoraMediaPlayerKit.h
. AgoraMediaPlayerErrorVideoRenderFailed
-
-8
: 无效的 rendererDeclared In
AgoraMediaPlayerKit.h
. AgoraMediaPlayerErrorInvalidState
-
-9
: 播放器内部状态错误Declared In
AgoraMediaPlayerKit.h
. AgoraMediaPlayerErrorUrlNotFound
-
-10
: 未找到该 URLDeclared In
AgoraMediaPlayerKit.h
. AgoraMediaPlayerErrorInvalidConnectState
-
-11
: 播放器与 Agora 服务器的连接无效Declared In
AgoraMediaPlayerKit.h
. AgoraMediaPlayerErrorSrcBufferUnderflow
-
-12
: 播放缓冲区数据不足Declared In
AgoraMediaPlayerKit.h
.
Declared In
AgoraMediaPlayerKit.h