枚举

enum  JCCallReason {
  JCCallReasonNone , JCCallReasonNotLogin , JCCallReasonCallFunctionError , JCCallReasonTimeOut ,
  JCCallReasonNetWorkError , JCCallReasonCallOverLimit , JCCallReasonTermBySelf , JCCallReasonAnswerFail ,
  JCCallReasonBusy , JCCallReasonDecline , JCCallReasonUserOffline , JCCallReasonNotFound ,
  JCCallReasonRejectVideoWhenHasCall , JCCallReasonRejectWhenHasVideoCall , JCCallReasonSessionTimeout , JCCallReasonOther = 100
}
 
enum  JCClientReason {
  JCClientReasonNone , JCClientReasonSDKNotInit , JCClientReasonInvalidParam , JCClientReasonCallFunctionError ,
  JCClientReasonTimeOut , JCClientReasonNetWork , JCClientReasonAppKey , JCClientReasonAuth ,
  JCClientReasonNoUser , JCClientReasonServerLogout , JCClientReasonAnotherDeviceLogined , JCClientReasonLocalRequest ,
  JCClientReasonSendMessage , JCClientReasonServerBusy , JCClientReasonServerNotReach , JCClientReasonServerForbidden ,
  JCClientReasonServerUnavaliable , JCClientReasonDnsQuery , JCClientReasonInternal , JCClientReasonNoResource ,
  JCClientReasonNoNonce , JCClientReasonInvalidAuthCode , JCClientReasonTokenMismatch , JCClientReasonTokenSizeInvalid ,
  JCClientReasonTokenSecretNotFound , JCClientReasonTokenAnalysisError , JCClientReasonTokenVersignAppkeyError , JCClientReasonTokenAccountIdMismatch ,
  JCClientReasonTokenExpired , JCClientReasonOther = 100
}
 
enum  JCMediaChannelReason {
  JCMediaChannelReasonNone , JCMediaChannelReasonNotLogin , JCMediaChannelReasonTimeOut , JCMediaChannelReasonNewWorkError ,
  JCMediaChannelReasonCallFunctionError , JCMediaChannelReasonAlreadyJoined , JCMediaChannelReasonKicked , JCMediaChannelReasonOffline ,
  JCMediaChannelReasonQuit , JCMediaChannelReasonOver , JCMediaChannelReasonFull , JCMediaChannelReasonInvalidPassword ,
  JCMediaChannelReasonServerError , JCMediaChannelReasonInvalidParam , JCMediaChannelReasonOther = 100
}
 

详细描述

错误代码

枚举类型说明

◆ JCCallReason

通话结束原因

枚举值
JCCallReasonNone 

无异常

JCCallReasonNotLogin 

无异常

JCCallReasonCallFunctionError 

函数调用错误

JCCallReasonTimeOut 

超时

JCCallReasonNetWorkError 

网络异常

JCCallReasonCallOverLimit 

超出通话数限制

JCCallReasonTermBySelf 

自己挂断

JCCallReasonAnswerFail 

应答失败

JCCallReasonBusy 

JCCallReasonDecline 

拒接

JCCallReasonUserOffline 

用户不在线

JCCallReasonNotFound 

无此用户

JCCallReasonRejectVideoWhenHasCall 

已有通话拒绝视频来电

JCCallReasonRejectWhenHasVideoCall 

已有视频通话拒绝来电

JCCallReasonSessionTimeout 

通话因某端心跳超时挂断

JCCallReasonOther 

其他错误

◆ JCClientReason

登录错误原因

枚举值
JCClientReasonNone 

正常

JCClientReasonSDKNotInit 

sdk 未初始化

JCClientReasonInvalidParam 

无效参数

JCClientReasonCallFunctionError 

函数调用失败

JCClientReasonTimeOut 

登录超时

JCClientReasonNetWork 

网络异常

JCClientReasonAppKey 

appkey 错误

JCClientReasonAuth 

账号密码错误

JCClientReasonNoUser 

无该用户

JCClientReasonServerLogout 

被强制登出

JCClientReasonAnotherDeviceLogined 

登录其他设备

JCClientReasonLocalRequest 

本地请求失败

JCClientReasonSendMessage 

发消息失败

JCClientReasonServerBusy 

服务器忙

JCClientReasonServerNotReach 

服务器不可达

JCClientReasonServerForbidden 

服务器不可达

JCClientReasonServerUnavaliable 

服务器不可用

JCClientReasonDnsQuery 

DNS 查询错误

JCClientReasonInternal 

服务器内部错误

JCClientReasonNoResource 

无资源

JCClientReasonNoNonce 

没有回应验证码

JCClientReasonInvalidAuthCode 

无效验证码

JCClientReasonTokenMismatch 

Token 不匹配

JCClientReasonTokenSizeInvalid 

Token 长度无效

JCClientReasonTokenSecretNotFound 

Token 未携带 AppSecret

JCClientReasonTokenAnalysisError 

Token 解析错误

JCClientReasonTokenVersignAppkeyError 

Token 携带的 Appkey 校验错误

JCClientReasonTokenAccountIdMismatch 

Token 与账号不匹配

JCClientReasonTokenExpired 

Token 已过期

JCClientReasonOther 

其他错误

◆ JCMediaChannelReason

频道加入失败和离开原因

枚举值
JCMediaChannelReasonNone 

正常

JCMediaChannelReasonNotLogin 

未登录

JCMediaChannelReasonTimeOut 

超时

JCMediaChannelReasonNewWorkError 

网络异常

JCMediaChannelReasonCallFunctionError 

函数调用失败

JCMediaChannelReasonAlreadyJoined 

已加入

JCMediaChannelReasonKicked 

被踢

JCMediaChannelReasonOffline 

掉线

JCMediaChannelReasonQuit 

主动离开

JCMediaChannelReasonOver 

频道关闭

JCMediaChannelReasonFull 

成员满

JCMediaChannelReasonInvalidPassword 

密码无效

JCMediaChannelReasonServerError 

调用服务器接口异常

JCMediaChannelReasonInvalidParam 

参数异常

JCMediaChannelReasonOther 

其他错误

最后更新时间: 2024/8/7 17:15:00