ErrorCode

public interface com.ss.video.byteboard.constant.WhiteBoardDefine.ErrorCode

错误码

成员变量

类型 名称
int LOGIN_ERROR
int TOKEN_TRANSFORM_ERROR
int RTM_ERROR
int RTM_KICKED
int INVALID_ID_STR
int CREATE_BOARD_FAILED
int GET_NTP_TIME_FAILED
int SEND_PACKET_FAILED
int PLAYBACK_ERROR
int GET_BOARD_INFO_ERROR

变量说明

LOGIN_ERROR

int com.ss.video.byteboard.constant.WhiteBoardDefine.ErrorCode.LOGIN_ERROR = 1000;

登录错误

TOKEN_TRANSFORM_ERROR

int com.ss.video.byteboard.constant.WhiteBoardDefine.ErrorCode.TOKEN_TRANSFORM_ERROR = 1001;

Token 传输错误

RTM_ERROR

int com.ss.video.byteboard.constant.WhiteBoardDefine.ErrorCode.RTM_ERROR = 1002;

RTM 错误

RTM_KICKED

int com.ss.video.byteboard.constant.WhiteBoardDefine.ErrorCode.RTM_KICKED = 1003;

RTM 被踢出,同名 userID 或被服务端移出

INVALID_ID_STR

int com.ss.video.byteboard.constant.WhiteBoardDefine.ErrorCode.INVALID_ID_STR = 1004;

进房roomId或userId无效

CREATE_BOARD_FAILED

int com.ss.video.byteboard.constant.WhiteBoardDefine.ErrorCode.CREATE_BOARD_FAILED = 2000;

创建白板失败

GET_NTP_TIME_FAILED

int com.ss.video.byteboard.constant.WhiteBoardDefine.ErrorCode.GET_NTP_TIME_FAILED = 2001;

时间同步失败

SEND_PACKET_FAILED

int com.ss.video.byteboard.constant.WhiteBoardDefine.ErrorCode.SEND_PACKET_FAILED = 2002;

发送失败

PLAYBACK_ERROR

int com.ss.video.byteboard.constant.WhiteBoardDefine.ErrorCode.PLAYBACK_ERROR = 2003;

回放失败

GET_BOARD_INFO_ERROR

int com.ss.video.byteboard.constant.WhiteBoardDefine.ErrorCode.GET_BOARD_INFO_ERROR = 2004;

获取白板信息失败

WarnCode

public interface com.ss.video.byteboard.constant.WhiteBoardDefine.WarnCode

告警码

成员变量

类型 名称
int RTM_WARN
int RTM_DISCONNECT
int RTM_CONGEST
int GET_PAGE_SNAPSHOT_FAILED
int CANNOT_PLAYBACK_WHEN_ROOM_ACTIVE
int API_SET_EDIT_MODE_FAILED

变量说明

RTM_WARN

int com.ss.video.byteboard.constant.WhiteBoardDefine.WarnCode.RTM_WARN = 5000;

RTM 警告

RTM_DISCONNECT

int com.ss.video.byteboard.constant.WhiteBoardDefine.WarnCode.RTM_DISCONNECT = 5001;

RTM 断联

RTM_CONGEST

int com.ss.video.byteboard.constant.WhiteBoardDefine.WarnCode.RTM_CONGEST = 5002;

RTM 拥塞

GET_PAGE_SNAPSHOT_FAILED

int com.ss.video.byteboard.constant.WhiteBoardDefine.WarnCode.GET_PAGE_SNAPSHOT_FAILED = 6000;

获取页面绘制数据失败

CANNOT_PLAYBACK_WHEN_ROOM_ACTIVE

int com.ss.video.byteboard.constant.WhiteBoardDefine.WarnCode.CANNOT_PLAYBACK_WHEN_ROOM_ACTIVE = 6001;

房间没有关闭时无法回放

API_SET_EDIT_MODE_FAILED

int com.ss.video.byteboard.constant.WhiteBoardDefine.WarnCode.API_SET_EDIT_MODE_FAILED = 7000;

设置编辑模式失败