public interface RCRTCRoom extends RCRTCBaseRoom
限定符和类型 | 方法和说明 |
---|---|
RCRTCCDNInputStream |
getCDNStream()
Added from 5.1.5
获取房间中 CDN 流
|
List<RCRTCInputStream> |
getLiveStreams()
直播流列表
Added from 5.1.0
|
RCRTCLocalUser |
getLocalUser()
获取本地用户
|
List<String> |
getOtherRoomIds()
主房间中主播已经加入的副房间Id列表
|
void |
muteAllRemoteAudio(boolean mute)
设置所有远端用户是否静音
|
void |
registerRoomListener(IRCRTCRoomEventsListener eventsListener)
注册房间事件回调
|
void |
sendMessage(MessageContent messageContent,
ISendMessageCallback callback)
发送房间状态消息
|
void |
setRemoteAudioDataListener(IRCRTCAudioDataListener listener)
设置远端音频数据回调
|
void |
unregisterRoomListener()
取消注册房间事件回调
|
deleteRoomAttributes, getRemoteUser, getRemoteUsers, getRoomAttributes, getRoomId, getSessionId, setRoomAttribute, setRoomAttributeValue
RCRTCLocalUser getLocalUser()
RCRTCLocalUser
void muteAllRemoteAudio(boolean mute)
void registerRoomListener(IRCRTCRoomEventsListener eventsListener)
eventsListener
- IRCRTCRoomEventsListener
void unregisterRoomListener()
void sendMessage(MessageContent messageContent, ISendMessageCallback callback)
messageContent
- 消息callback
- 回调void setRemoteAudioDataListener(IRCRTCAudioDataListener listener)
List<RCRTCInputStream> getLiveStreams()
RCRTCCDNInputStream getCDNStream()