Package com.qiniu.rtc
Class RtcRoomManager
- java.lang.Object
-
- com.qiniu.rtc.RtcRoomManager
-
@Deprecated public class RtcRoomManager extends java.lang.ObjectDeprecated.
-
-
Constructor Summary
Constructors Constructor Description RtcRoomManager(Auth auth)Deprecated.RtcRoomManager(Auth auth, java.lang.String host)Deprecated.
-
Method Summary
All Methods Instance Methods Concrete Methods Deprecated Methods Modifier and Type Method Description java.lang.StringgetRoomToken(java.lang.String appId, java.lang.String roomName, java.lang.String userId, long expireAt, java.lang.String permission)Deprecated.ResponsekickUser(java.lang.String appId, java.lang.String roomName, java.lang.String userId)Deprecated.ResponselistActiveRooms(java.lang.String appId, java.lang.String prefix, int offset, int limit)Deprecated.ResponselistUser(java.lang.String appId, java.lang.String roomName)Deprecated.
-
-
-
Method Detail
-
listUser
@Deprecated public Response listUser(java.lang.String appId, java.lang.String roomName) throws QiniuException
Deprecated.- Parameters:
appId- 房间所属帐号的 approomName- 操作所查询的连麦房间- Returns:
- Response 如果不读取Response的数据,请注意调用Close方法关闭
- Throws:
QiniuException- 异常
-
kickUser
@Deprecated public Response kickUser(java.lang.String appId, java.lang.String roomName, java.lang.String userId) throws QiniuException
Deprecated.- Parameters:
appId- 房间所属帐号的 approomName- 操作房间名userId- 被踢人员- Returns:
- Response 如果不读取Response的数据,请注意调用Close方法关闭
- Throws:
QiniuException- 异常
-
listActiveRooms
@Deprecated public Response listActiveRooms(java.lang.String appId, java.lang.String prefix, int offset, int limit) throws QiniuException
Deprecated.- Parameters:
appId- 连麦房间所属的 appprefix- 所查询房间名的前缀索引,可以为空。offset- 分页查询的位移标记limit- 此次查询的最大长度- Returns:
- Response 如果不读取Response的数据,请注意调用Close方法关闭
- Throws:
QiniuException- 异常
-
getRoomToken
@Deprecated public java.lang.String getRoomToken(java.lang.String appId, java.lang.String roomName, java.lang.String userId, long expireAt, java.lang.String permission) throws java.lang.ExceptionDeprecated.- Parameters:
appId- 房间所属帐号的 approomName- 房间名称,需满足规格 ^[a-zA-Z0-9_-]{3,64}$userId- 请求加入房间的用户 ID,需满足规格 ^[a-zA-Z0-9_-]{3,50}$expireAt- int64 类型,鉴权的有效时间,传入以秒为单位的64位Unix绝对时间,token 将在该时间后失效permission- 该用户的房间管理权限,"admin" 或 "user",默认为 "user" 。当权限角色为 "admin" 时,拥有将其他用户移除出房 间等特权.- Returns:
- roomToken
- Throws:
java.lang.Exception- 异常
-
-