RCRTCRoomConfig Class Reference

Inherits from NSObject
Declared in RCRTCRoomConfig.h

  roomType

加入房间场景, 默认值: RCRTCRoomTypeNormal

@property (nonatomic, assign) RCRTCRoomType roomType

Discussion

加入房间场景, 默认值: RCRTCRoomTypeNormal

Declared In

RCRTCRoomConfig.h

  liveType

直播类型,仅在 RCRTCRoomType 为 RCRTCRoomTypeLive 时可用,选择当前为音频直播还是音视频直播, 默认值: RCRTCLiveTypeAudioVideo

@property (nonatomic, assign) RCRTCLiveType liveType

Discussion

直播类型,仅在 RCRTCRoomType 为 RCRTCRoomTypeLive 时可用,选择当前为音频直播还是音视频直播, 默认值: RCRTCLiveTypeAudioVideo

Declared In

RCRTCRoomConfig.h

  roleType

直播角色类型,仅在 RCRTCRoomType 为 RCRTCRoomTypeLive 时可用,默认值: RCRTCLiveRoleTypeBroadcaster

@property (nonatomic, assign) RCRTCLiveRoleType roleType

Discussion

直播角色类型,仅在 RCRTCRoomType 为 RCRTCRoomTypeLive 时可用,默认值: RCRTCLiveRoleTypeBroadcaster

add from 5.1.0

Declared In

RCRTCRoomConfig.h

  joinType

加入房间类型, 同一 UserID 多端加入房间时的处理类型

@property (nonatomic, assign) RCRTCJoinRoomType joinType

Discussion

加入房间类型, 同一 UserID 多端加入房间时的处理类型

Declared In

RCRTCRoomConfig.h

  localUserDatas

设置用户属性

@property (nonatomic, copy, nullable) NSDictionary<NSString*NSString*> *localUserDatas

Discussion

设置用户属性

Declared In

RCRTCRoomConfig.h

  stopAudioMixer

离开房间是否停止混音和短音效,默认值:YES

@property (nonatomic, assign) BOOL stopAudioMixer

Discussion

离开房间是否停止混音和短音效,默认值:YES

Declared In

RCRTCRoomConfig.h

  timeout

请求超时时间,默认值:30s

@property (nonatomic, assign) NSInteger timeout

Discussion

请求超时时间,默认值:30s

Declared In

RCRTCRoomConfig.h