-
- All Implemented Interfaces:
public class NERoomRtcChannelProfile
通信场景
-
-
Field Summary
Fields Modifier and Type Field Description private final Integer
communication
private final Integer
liveBroadcasting
public final static NERoomRtcChannelProfile
INSTANCE
-
Method Summary
Modifier and Type Method Description final Integer
getCommunication()
(默认)通信场景。该场景下,房间内所有用户都可以发布和接收音、视频流。适用于语音通话、视频群聊等应用场景。 final Integer
getLiveBroadcasting()
直播场景。该场景有主播和观众两种用户角色,可以通过setClientRole设置。主播可以发布和接收音视频流,观众直接接收流。 适用于语聊房、视频直播、互动大班课等应用场景。 -
-
Method Detail
-
getCommunication
final Integer getCommunication()
(默认)通信场景。该场景下,房间内所有用户都可以发布和接收音、视频流。适用于语音通话、视频群聊等应用场景。
-
getLiveBroadcasting
final Integer getLiveBroadcasting()
直播场景。该场景有主播和观众两种用户角色,可以通过setClientRole设置。主播可以发布和接收音视频流,观众直接接收流。 适用于语聊房、视频直播、互动大班课等应用场景。
-
-
-
-