KSYMPErrorCode Constants Reference

Declared in KSYMoviePlayerDefines.h

KSYMPErrorCode

错误码

Definition

typedef NS_ENUM(NSInteger, KSYMPErrorCode ) {
   KSYMPOK = 0,
   KSYMPErrorCodeUnknownError = 1,
   KSYMPErrorCodeFileIOError = -1004,
   KSYMPErrorCodeUnsupportProtocol = -10001,
   KSYMPErrorCodeDNSParseFailed = -10002,
   KSYMPErrorCodeCreateSocketFailed = -10003,
   KSYMPErrorCodeConnectServerFailed = -10004,
   KSYMPErrorCodeBadRequest = -10005,
   KSYMPErrorCodeUnauthorizedClient = -10006,
   KSYMPErrorCodeAccessForbidden = -10007,
   KSYMPErrorCodeTargetNotFound = -10008,
   KSYMPErrorCodeOtherErrorCode = -10009,
   KSYMPErrorCodeServerException = -10010,
   KSYMPErrorCodeInvalidData = -10011,
   KSYMPErrorCodeUnsupportVideoCodec = -10012,
   KSYMPErrorCodeUnsupportAudioCodec = -10013,
   KSYMPErrorCodeVideoDecodeFailed = -10014,
   KSYMPErrorCodeAudioDecodeFailed = -10015,
   KSYMPErrorCode3xxOverFlow = -10016,
   KSYMPErrorInvalidURL = -10050,
   KSYMPErrorNetworkUnReachable = -10051,
};

Constants

KSYMPOK

正常

Declared In KSYMoviePlayerDefines.h.

KSYMPErrorCodeUnknownError

未知错误

Declared In KSYMoviePlayerDefines.h.

KSYMPErrorCodeFileIOError

读写数据异常

Declared In KSYMoviePlayerDefines.h.

KSYMPErrorCodeUnsupportProtocol

不支持的流媒体协议

Declared In KSYMoviePlayerDefines.h.

KSYMPErrorCodeDNSParseFailed

DNS解析失败

Declared In KSYMoviePlayerDefines.h.

KSYMPErrorCodeCreateSocketFailed

创建socket失败

Declared In KSYMoviePlayerDefines.h.

KSYMPErrorCodeConnectServerFailed

连接服务器失败

Declared In KSYMoviePlayerDefines.h.

KSYMPErrorCodeBadRequest

http请求返回400

Declared In KSYMoviePlayerDefines.h.

KSYMPErrorCodeUnauthorizedClient

http请求返回401

Declared In KSYMoviePlayerDefines.h.

KSYMPErrorCodeAccessForbidden

http请求返回403

Declared In KSYMoviePlayerDefines.h.

KSYMPErrorCodeTargetNotFound

http请求返回404

Declared In KSYMoviePlayerDefines.h.

KSYMPErrorCodeOtherErrorCode

http请求返回4xx

Declared In KSYMoviePlayerDefines.h.

KSYMPErrorCodeServerException

http请求返回5xx

Declared In KSYMoviePlayerDefines.h.

KSYMPErrorCodeInvalidData

无效的媒体数据

Declared In KSYMoviePlayerDefines.h.

KSYMPErrorCodeUnsupportVideoCodec

不支持的视频编码类型

Declared In KSYMoviePlayerDefines.h.

KSYMPErrorCodeUnsupportAudioCodec

不支持的音频编码类型

Declared In KSYMoviePlayerDefines.h.

KSYMPErrorCodeVideoDecodeFailed

视频解码失败

Declared In KSYMoviePlayerDefines.h.

KSYMPErrorCodeAudioDecodeFailed

音频解码失败

Declared In KSYMoviePlayerDefines.h.

KSYMPErrorCode3xxOverFlow

次数过多的3xx跳转(8次)

Declared In KSYMoviePlayerDefines.h.

KSYMPErrorInvalidURL

无效的url

Declared In KSYMoviePlayerDefines.h.

KSYMPErrorNetworkUnReachable

网络不通

Declared In KSYMoviePlayerDefines.h.

Declared In

KSYMoviePlayerDefines.h