Builder

public abstract class Builder

Constructors

Link copied to clipboard

Functions

Link copied to clipboard
public abstract RCRTCRoomConfig build()
Link copied to clipboard
Link copied to clipboard
public abstract RCRTCRoomConfig.Builder enableAudioEncryption(boolean enabled)
设置是否开启自定义音视加解密
Link copied to clipboard
public abstract RCRTCRoomConfig.Builder enableVideoEncryption(boolean enabled)
设置是否开启自定义视频加解密
Link copied to clipboard
public abstract RCRTCRoomConfig.Builder setJoinType(RCRTCJoinType joinType)
多端登录时的加入策略
Link copied to clipboard
public abstract RCRTCRoomConfig.Builder setLiveRole(RCRTCLiveRole role)
直播模式下,进入房间后的角色配置,
Link copied to clipboard
public abstract RCRTCRoomConfig.Builder setRoomType(RCRTCRoomType roomType)
指定房间类型
Link copied to clipboard
public abstract RCRTCRoomConfig.Builder setSignalingTimeout(int timeout)
设置信令超时时间
Link copied to clipboard
public abstract RCRTCRoomConfig.Builder setUserDatas(Map<String, String> localUserDatas)
设置用户属性
Link copied to clipboard
public abstract RCRTCRoomConfig.Builder stopAudioMixer(boolean enabled)
离开房间是否停止混音和短音效,默认值: true