9#import <Foundation/Foundation.h>
11NS_ASSUME_NONNULL_BEGIN
282+ (
ReasonCode)translateFromMtcReason:(
int)reason;
284+ (
VolumeStatus)translateFromMtcVolumeStatus:(
int)status;
286+ (
RecordState)translateFromMtcRemoteRecordState:(
int)state;
290+ (NSString *)transferToMtcAudioEncodeType:(
AudioEncodeType)audioEncodeType;
ReasonCode
原因码枚举
Definition: JRTCEnum.h:19
@ ReasonConfInternalError
房间异常
Definition: JRTCEnum.h:79
@ ReasonConfNumberNotFound
该房间号的房间不存在
Definition: JRTCEnum.h:71
@ ReasonConfAlreadyIn
房间已经存在(同时只能一个房间存在)
Definition: JRTCEnum.h:77
@ ReasonConfTimeOut
超时
Definition: JRTCEnum.h:55
@ ReasonConfNetWork
网络异常
Definition: JRTCEnum.h:57
@ ReasonConfAppConcurrencyFul
服务器房间成员总数上限(移动端房间人数)
Definition: JRTCEnum.h:73
@ ReasonCliSDKNotInit
SDK 未初始化
Definition: JRTCEnum.h:35
@ ReasonConfOver
房间结束
Definition: JRTCEnum.h:65
@ ReasonCliStateCannotLogin
当前状态无法再次登录
Definition: JRTCEnum.h:37
@ ReasonCallFunctionError
方法调用失败
Definition: JRTCEnum.h:28
@ ReasonConfNotLogin
未登录
Definition: JRTCEnum.h:53
@ ReasonConfFull
房间成员已满
Definition: JRTCEnum.h:67
@ ReasonCliAppKey
AppKey 错误
Definition: JRTCEnum.h:43
@ ReasonInvalidParam
无效的参数
Definition: JRTCEnum.h:30
@ ReasonCliTimeOut
超时
Definition: JRTCEnum.h:39
@ ReasonConfAllConcurrencyFul
服务器房间成员总数上限(总房间人数)
Definition: JRTCEnum.h:75
@ ReasonConfKicked
被踢
Definition: JRTCEnum.h:59
@ ReasonCliNetWork
网络异常
Definition: JRTCEnum.h:41
@ ReasonCliAuth
账号密码错误
Definition: JRTCEnum.h:45
@ ReasonConfInvalidPassword
密码无效
Definition: JRTCEnum.h:69
@ ReasonConfOffline
掉线
Definition: JRTCEnum.h:61
@ ReasonCliServerLogout
强制登出
Definition: JRTCEnum.h:49
@ ReasonCliNoUser
无该用户
Definition: JRTCEnum.h:47
@ ReasonNone
正常
Definition: JRTCEnum.h:24
@ ReasonOther
其他错误
Definition: JRTCEnum.h:26
@ ReasonConfJoinLicenceLimit
房间人员上限,licence限制
Definition: JRTCEnum.h:81
@ ReasonConfQuit
主动离开
Definition: JRTCEnum.h:63
ScsMergeMode
Definition: JRTCEnum.h:238
RoomState
Definition: JRTCEnum.h:94
RecordState
Definition: JRTCEnum.h:170
VideoEncodeType
Definition: JRTCEnum.h:270
AudioEncodeType
Definition: JRTCEnum.h:258
VideoMergeMode
Definition: JRTCEnum.h:188
CDNState
Definition: JRTCEnum.h:158
Resolution
Definition: JRTCEnum.h:108
SystemPhoneState
Definition: JRTCEnum.h:297
VolumeStatus
Definition: JRTCEnum.h:140
IntelligentMergeMode
Definition: JRTCEnum.h:200
NetState
Definition: JRTCEnum.h:122
@ SrcMergeModeScreenShare
屏幕共享独占
Definition: JRTCEnum.h:242
@ SrcMergeModeSpeaker
将屏幕共享和一个焦点视频内容合并
Definition: JRTCEnum.h:250
@ SrcMergeModeInit
初始值
Definition: JRTCEnum.h:240
@ SrcMergeModePlateFormCover
Definition: JRTCEnum.h:248
@ SrcMergeModePlateForm
Definition: JRTCEnum.h:245
@ SrcMergeModeWithoutScreenShare
忽略屏幕共享
Definition: JRTCEnum.h:252
@ StateIdle
空闲状态
Definition: JRTCEnum.h:96
@ StateLeaving
离开中
Definition: JRTCEnum.h:102
@ StateJoined
已加入
Definition: JRTCEnum.h:100
@ StateJoining
加入中
Definition: JRTCEnum.h:98
@ RecordStateReady
可以开启远程录制
Definition: JRTCEnum.h:176
@ RecordStateError
远程录制异常
Definition: JRTCEnum.h:180
@ RecordStateNone
无法进行远程录制
Definition: JRTCEnum.h:174
@ RecordStateOther
其他
Definition: JRTCEnum.h:172
@ RecordStateWarn
远程录制卡顿警告
Definition: JRTCEnum.h:182
@ RecordStateRunning
远程录制中
Definition: JRTCEnum.h:178
@ VideoEncodeTypeAV1
AV1
Definition: JRTCEnum.h:276
@ VideoEncodeTypeH265
H265
Definition: JRTCEnum.h:274
@ VideoEncodeTypeH264
H264
Definition: JRTCEnum.h:272
@ AudioEncodeTypePCMA
PCMA
Definition: JRTCEnum.h:262
@ AudioEncodeTypePCMU
PCMU
Definition: JRTCEnum.h:264
@ AudioEncodeTypeOPUS
OPUS
Definition: JRTCEnum.h:260
@ VideoMergeModeInit
初始值
Definition: JRTCEnum.h:190
@ VideoMergeModeCustomLayout
自定义布局
Definition: JRTCEnum.h:192
@ VideoMergeModeMergeIntelligentLayout
智能分屏
Definition: JRTCEnum.h:194
@ CDNStateNone
无法进行CDN推流
Definition: JRTCEnum.h:160
@ CDNStateReady
可以开启CDN推流
Definition: JRTCEnum.h:162
@ CDNStateRunning
CDN推流中
Definition: JRTCEnum.h:164
@ ResolutionInit
初始值
Definition: JRTCEnum.h:110
@ Resolution360
最大分辨率360P
Definition: JRTCEnum.h:112
@ Resolution720
最大分辨率720P
Definition: JRTCEnum.h:114
@ Resolution1080
最大分辨率1080P
Definition: JRTCEnum.h:116
@ SystemPhoneStateIdle
空闲
Definition: JRTCEnum.h:301
@ SystemPhoneStateOffhook
通话建立/系统电话呼出
Definition: JRTCEnum.h:305
@ SystemPhoneStateUnaviable
无效
Definition: JRTCEnum.h:299
@ SystemPhoneStateRing
来电
Definition: JRTCEnum.h:303
@ VolumeStatusNone
无声音
Definition: JRTCEnum.h:142
@ VolumeStatusVeryLow
很低
Definition: JRTCEnum.h:144
@ VolumeStatusVeryHigh
很高
Definition: JRTCEnum.h:152
@ VolumeStatusHigh
高
Definition: JRTCEnum.h:150
@ VolumeStatusMid
中
Definition: JRTCEnum.h:148
@ VolumeStatusLow
低
Definition: JRTCEnum.h:146
@ IntelligentMergeModeBigSmallx4
大小屏放大4倍
Definition: JRTCEnum.h:212
@ IntelligentMergeModeBigSmallx9
大小屏放大9倍
Definition: JRTCEnum.h:222
@ IntelligentMergeModeFreeLayout
自由布局
Definition: JRTCEnum.h:204
@ IntelligentMergeModeBigSmallTop
大小屏放大到顶部
Definition: JRTCEnum.h:226
@ IntelligentMergeModeBigSmallx5
大小屏放大5倍
Definition: JRTCEnum.h:214
@ IntelligentMergeModeDivideLayoutNoangle
绝对等分模式不带图像角度
Definition: JRTCEnum.h:232
@ IntelligentMergeModeBigSmallx8
大小屏放大8倍
Definition: JRTCEnum.h:220
@ IntelligentMergeModeBigSmallBottom
大小屏放大到底部
Definition: JRTCEnum.h:228
@ IntelligentMergeModeBigSmallx7
大小屏放大7倍
Definition: JRTCEnum.h:218
@ IntelligentMergeModeBigSmallx3
大小屏放大3倍
Definition: JRTCEnum.h:210
@ IntelligentMergeModeBigSmallx6
大小屏放大6倍
Definition: JRTCEnum.h:216
@ IntelligentMergeModeInit
初始值
Definition: JRTCEnum.h:202
@ IntelligentMergeModeRectLayout
矩形布局
Definition: JRTCEnum.h:206
@ IntelligentMergeModeBigSmallx2
大小屏放大2倍
Definition: JRTCEnum.h:208
@ IntelligentMergeModeBigSmallx10
大小屏放大10倍
Definition: JRTCEnum.h:224
@ IntelligentMergeModeDivideLayout
绝对等分模式
Definition: JRTCEnum.h:230
@ NetStateDisconnected
网络未知,建议保持上一次网络状态
Definition: JRTCEnum.h:124
@ NetStateNormal
一般
Definition: JRTCEnum.h:130
@ NetStateVeryGood
很好
Definition: JRTCEnum.h:134
@ NetStateVeryBad
很差
Definition: JRTCEnum.h:126
@ NetStateBad
差
Definition: JRTCEnum.h:128
@ NetStateGood
好
Definition: JRTCEnum.h:132
枚举转化类
Definition: JRTCEnum.h:281