Skip to content
Ju Liaoyuan edited this page Dec 20, 2022 · 1 revision

SRCode Constants Reference

  Declared in SRCode.h

SRCode

Definition

typedef NS_ENUM(NSUInteger, SRCode ) {   
    
    SRCodeParamsError = 50000,
    
    SRCodeStatusError = 50001,
    
    SRCodeSetAdminError = 50002,
    
    SRCodeCancelAdminError = 50003,
    
    SRCodeSetBlockError = 50004,
    
    SRCodeCancelBlockError = 50005,
    
    SRCodeSetMsgMuteError = 50006,
    
    SRCodeCancelMsgMuteError = 50007,
    
    SRCodeSetStreamMuteError = 50008,
    
    SRCodeCancelStreamMuteError = 50009,
    
    SRCodeKickError = 50010,
    
    SRCodeGenerateStreamError = 50011,
    
    SRCodeMsgSendError = 50012,
    
    SRCodeEnterRoomError = 50013,
    
    SRCodeCreateRoomError = 50014,
    
    SRCodeUpdateRoomError = 50015,
    
    SRCodeSDKInitError = 50016,
    
    SRCodeAudioReconnectError = 50017,
    
    SRCodeConnReconnectError = 50018,
    
    SRCodeLeaveRoomError = 50019,
    
    SRCodeCloseRoomError = 50020,
    
    SRCodeOnlineListError = 50021,
    
    SRCodeOnlineCountError = 50022,
    
    SRCodePublicStreamError = 60001,
    
    SRCodeSwitchMicError = 60002,
    
    SRCodeStopPushStreamError = 60003,
    
    SRCodeMuteStreamError = 60004,
    
};

Constants

SRCodeParamsError

房间参数错误

   Declared In SRCode.h.

SRCodeStatusError

房间状态不对

   Declared In SRCode.h.

SRCodeSetAdminError

设置管理员失败

   Declared In SRCode.h.

SRCodeCancelAdminError

取消设置管理员失败

   Declared In SRCode.h.

SRCodeSetBlockError

拉黑失败

   Declared In SRCode.h.

SRCodeCancelBlockError

取消拉黑失败

   Declared In SRCode.h.

SRCodeSetMsgMuteError

禁言失败

   Declared In SRCode.h.

SRCodeCancelMsgMuteError

取消禁言失败

   Declared In SRCode.h.

SRCodeSetStreamMuteError

禁音失败

   Declared In SRCode.h.

SRCodeCancelStreamMuteError

取消禁音失败

   Declared In SRCode.h.

SRCodeKickError

踢人失败

   Declared In SRCode.h.

SRCodeGenerateStreamError

生产流失败

   Declared In SRCode.h.

SRCodeMsgSendError

发送消息失败

   Declared In SRCode.h.

SRCodeEnterRoomError

进入房间失败

   Declared In SRCode.h.

SRCodeCreateRoomError

创建房间失败

   Declared In SRCode.h.

SRCodeUpdateRoomError

更新房间失败

   Declared In SRCode.h.

SRCodeSDKInitError

组件初始化失败

   Declared In SRCode.h.

SRCodeAudioReconnectError

音频组件重连失败

   Declared In SRCode.h.

SRCodeConnReconnectError

长连组件重连失败

   Declared In SRCode.h.

SRCodeLeaveRoomError

离开房间失败

   Declared In SRCode.h.

SRCodeCloseRoomError

关闭房间失败

   Declared In SRCode.h.

SRCodeOnlineListError

在线人员列表错误

   Declared In SRCode.h.

SRCodeOnlineCountError

在线人员数量错误

   Declared In SRCode.h.

SRCodePublicStreamError

推流调用失败

   Declared In SRCode.h.

SRCodeSwitchMicError

开关麦克风失败

   Declared In SRCode.h.

SRCodeStopPushStreamError

停止推流失败

   Declared In SRCode.h.

SRCodeMuteStreamError

静音失败

   Declared In SRCode.h.

Clone this wiki locally