程序包 rtc
类 RoomInfo
java.lang.Object
rtc.RoomInfo
房间信息结构.
房间信息定义了安排房间时的所有信息。
-
嵌套类概要
-
字段概要
修饰符和类型字段说明static final int
static final int
< mcu模式static final int
< 房间是场控模式,严格控制房间中的音视频,参会者默认没有音视频打开权限static final int
< 房间中网络没有加速,暂不支持static final int
< p2p模式static final int
< 房间中网络加速,暂不支持 -
构造器概要
-
方法概要
修饰符和类型方法说明boolean
int
int
int
int
int
int
int
boolean
hasMode
(int mode) boolean
isMcu()
判断是mcu模式房间void
setAppRoomId
(String value) void
setBandwidth
(int value) void
setConfPassword
(String value) void
setDuration
(int value) void
void
setHostPassword
(String hostPass) void
setMaxAttendee
(int value) void
setMaxAudio
(int value) void
setMaxVideo
(int value) void
setOwnerId
(String value) void
void
setRoomMode
(int flag) 设置房间模式void
setRoomName
(String value) void
setRoomTopic
(String value) void
setStartTime
(int value) toString()
-
字段详细资料
-
RoomMode_mcu
public static final int RoomMode_mcu- 另请参阅:
-
RoomMode_p2p
public static final int RoomMode_p2p< mcu模式- 另请参阅:
-
RoomMode_rm_attr_netacc
public static final int RoomMode_rm_attr_netacc< p2p模式- 另请参阅:
-
RoomMode_rm_attr_netacc_close
public static final int RoomMode_rm_attr_netacc_close< 房间中网络加速,暂不支持- 另请参阅:
-
RoomMode_rm_attr_hostcontrol
public static final int RoomMode_rm_attr_hostcontrol< 房间中网络没有加速,暂不支持- 另请参阅:
-
RoomMode_rm_attr_freespeech
public static final int RoomMode_rm_attr_freespeech< 房间是场控模式,严格控制房间中的音视频,参会者默认没有音视频打开权限- 另请参阅:
-
-
构造器详细资料
-
RoomInfo
public RoomInfo(String roomId, String appRoomId, String roomName, String roomTopic, String ownerId, String hostId, String hostPass, String confPass, int startTime, int duration, int roomMode, int bandwidth, int maxAttendee, int maxAudio, int maxVideo) < 房间开启语音激励 -
RoomInfo
-
RoomInfo
-
RoomInfo
-
RoomInfo
-
RoomInfo
public RoomInfo()
-
-
方法详细资料
-
getRoomId
-
getAppRoomId
-
getRoomName
-
getRoomTopic
-
getOwnerId
-
getHostId
-
getConfPassword
-
getHostPassword
-
getStartTime
public int getStartTime() -
getDuration
public int getDuration() -
getRoomMode
public int getRoomMode() -
getMaxAttendee
public int getMaxAttendee() -
getBandwidth
public int getBandwidth() -
getMaxAudio
public int getMaxAudio() -
getMaxVideo
public int getMaxVideo() -
setRoomId
-
setAppRoomId
-
setRoomTopic
-
setRoomName
-
setOwnerId
-
setHostId
-
setConfPassword
-
setHostPassword
-
setStartTime
public void setStartTime(int value) -
setDuration
public void setDuration(int value) -
setMaxAttendee
public void setMaxAttendee(int value) -
setBandwidth
public void setBandwidth(int value) -
setMaxAudio
public void setMaxAudio(int value) -
setMaxVideo
public void setMaxVideo(int value) -
isMcu
public boolean isMcu()判断是mcu模式房间 -
setRoomMode
public void setRoomMode(int flag) 设置房间模式 -
hasMode
public boolean hasMode(int mode) -
equals
-
toString
-