KSYStreamErrorCode Constants Reference

Declared in KSYTypeDef.h

KSYStreamErrorCode

Definition

typedef NS_ENUM(NSUInteger, KSYStreamErrorCode ) {
   KSYStreamErrorCode_NONE = 0,
   KSYStreamErrorCode_KSYAUTHFAILED,
   __deprecated_enum_msg,
   (,
   "auth removed",
   ),
   KSYStreamErrorCode_ENCODE_FRAMES_FAILED,
   KSYStreamErrorCode_CODEC_OPEN_FAILED,
   KSYStreamErrorCode_CONNECT_FAILED,
   KSYStreamErrorCode_CONNECT_BREAK,
   KSYStreamErrorCode_RTMP_NonExistDomain,
   KSYStreamErrorCode_RTMP_NonExistApplication,
   KSYStreamErrorCode_RTMP_AlreadyExistStreamName,
   KSYStreamErrorCode_RTMP_ForbiddenByBlacklist,
   KSYStreamErrorCode_RTMP_InternalError,
   KSYStreamErrorCode_RTMP_URLExpired,
   KSYStreamErrorCode_RTMP_SignatureDoesNotMatch,
   KSYStreamErrorCode_RTMP_InvalidAccessKeyId,
   KSYStreamErrorCode_RTMP_BadParams,
   KSYStreamErrorCode_RTMP_ForbiddenByRegion,
   KSYStreamErrorCode_FRAMES_THRESHOLD,
   KSYStreamErrorCode_NO_INPUT_SAMPLE,
   KSYStreamErrorCode_DNS_Parse_failed,
   KSYStreamErrorCode_Connect_Server_failed,
   KSYStreamErrorCode_RTMP_Publish_failed,
   KSYStreamErrorCode_AV_SYNC_ERROR,
   KSYStreamErrorCode_INVALID_ADDRESS,
   KSYStreamErrorCode_NETWORK_UNREACHABLE,
   KSYStreamErrorCode_RTMP_GetUserIdFailed,
   KSYStreamErrorCode_RTMP_AkAndUserIsNotMatch,
   KSYStreamErrorCode_RTMP_GetServerInfoFailed,
   KSYStreamErrorCode_RTMP_IllegalOutsideUrl,
   KSYStreamErrorCode_RTMP_OutsideAuthFailed,
   KSYStreamErrorCode_RTMP_SimpleAuthFailed,
   KSYStreamErrorCode_RTMP_InvalidAuthType,
   KSYStreamErrorCode_RTMP_IllegalUserId,
};

Constants

KSYStreamErrorCode_NONE

正常无错误

Declared In KSYTypeDef.h.

KSYStreamErrorCode_KSYAUTHFAILED

(obsolete)

Declared In KSYTypeDef.h.

__deprecated_enum_msg

推流错误码,用于指示推流失败的原因

Declared In KSYTypeDef.h.

(

推流错误码,用于指示推流失败的原因

Declared In KSYTypeDef.h.

"auth removed"

推流错误码,用于指示推流失败的原因

Declared In KSYTypeDef.h.

)

推流错误码,用于指示推流失败的原因

Declared In KSYTypeDef.h.

KSYStreamErrorCode_ENCODE_FRAMES_FAILED

当前帧编码失败

Declared In KSYTypeDef.h.

KSYStreamErrorCode_CODEC_OPEN_FAILED

无法打开配置指示的CODEC

Declared In KSYTypeDef.h.

KSYStreamErrorCode_CONNECT_FAILED

连接出错,检查地址

Declared In KSYTypeDef.h.

KSYStreamErrorCode_CONNECT_BREAK

网络连接中断

Declared In KSYTypeDef.h.

KSYStreamErrorCode_RTMP_NonExistDomain

rtmp 推流域名不存在 (KSY 自定义)

Declared In KSYTypeDef.h.

KSYStreamErrorCode_RTMP_NonExistApplication

rtmp 应用名不存在(KSY 自定义)

Declared In KSYTypeDef.h.

KSYStreamErrorCode_RTMP_AlreadyExistStreamName

rtmp 流名已存在(KSY 自定义)

Declared In KSYTypeDef.h.

KSYStreamErrorCode_RTMP_ForbiddenByBlacklist

rtmp 被黑名单拒绝(KSY 自定义)

Declared In KSYTypeDef.h.

KSYStreamErrorCode_RTMP_InternalError

rtmp 内部错误(KSY 自定义)

Declared In KSYTypeDef.h.

KSYStreamErrorCode_RTMP_URLExpired

rtmp URL 地址已过期(KSY 自定义)

Declared In KSYTypeDef.h.

KSYStreamErrorCode_RTMP_SignatureDoesNotMatch

rtmp URL 地址签名错误(KSY 自定义)

Declared In KSYTypeDef.h.

KSYStreamErrorCode_RTMP_InvalidAccessKeyId

rtmp URL 中AccessKeyId非法(KSY 自定义)

Declared In KSYTypeDef.h.

KSYStreamErrorCode_RTMP_BadParams

rtmp URL 中参数错误(KSY 自定义)

Declared In KSYTypeDef.h.

KSYStreamErrorCode_RTMP_ForbiddenByRegion

rtmp URL 中的推流不在发布点内(KSY 自定义)

Declared In KSYTypeDef.h.

KSYStreamErrorCode_FRAMES_THRESHOLD

(obsolete)

Declared In KSYTypeDef.h.

KSYStreamErrorCode_NO_INPUT_SAMPLE

(obsolete)

Declared In KSYTypeDef.h.

KSYStreamErrorCode_DNS_Parse_failed

对于URL中的域名解析失败

Declared In KSYTypeDef.h.

KSYStreamErrorCode_Connect_Server_failed

对于URL对应的服务器连接失败(无法建立TCP连接)

Declared In KSYTypeDef.h.

KSYStreamErrorCode_RTMP_Publish_failed

跟RTMP服务器完成握手后,向{appname}/{streamname} 推流失败

Declared In KSYTypeDef.h.

KSYStreamErrorCode_AV_SYNC_ERROR

音视频同步失败 (输入的音频和视频的时间戳的差值超过5s)

Declared In KSYTypeDef.h.

KSYStreamErrorCode_INVALID_ADDRESS

非法地址(地址为空或url中的协议或本地文件的后缀SDK不支持, 请检查)

Declared In KSYTypeDef.h.

KSYStreamErrorCode_NETWORK_UNREACHABLE

网络不通

Declared In KSYTypeDef.h.

KSYStreamErrorCode_RTMP_GetUserIdFailed

获取user id失败 (KSY 自定义)

Declared In KSYTypeDef.h.

KSYStreamErrorCode_RTMP_AkAndUserIsNotMatch

AK和user id不匹配 (KSY 自定义)

Declared In KSYTypeDef.h.

KSYStreamErrorCode_RTMP_GetServerInfoFailed

获取服务器信息失败 (KSY 自定义)

Declared In KSYTypeDef.h.

KSYStreamErrorCode_RTMP_IllegalOutsideUrl

非法的外部url (KSY 自定义)

Declared In KSYTypeDef.h.

KSYStreamErrorCode_RTMP_OutsideAuthFailed

外部鉴权失败 (KSY 自定义)

Declared In KSYTypeDef.h.

KSYStreamErrorCode_RTMP_SimpleAuthFailed

简单鉴权失败(KSY 自定义)

Declared In KSYTypeDef.h.

KSYStreamErrorCode_RTMP_InvalidAuthType

无效的鉴权类型 (KSY 自定义)

Declared In KSYTypeDef.h.

KSYStreamErrorCode_RTMP_IllegalUserId

非法的user id (KSY 自定义)

Declared In KSYTypeDef.h.

Declared In

KSYTypeDef.h