StarRtc.StarSuperRoomSDK.sigConnect = function ()
/** * Disconnect to the super room * @param flag The flag of Whether to disconnect actively, which is used to determine reconnection */ StarRtc.StarSuperRoomSDK.sigDisconnect = function (_flag)
/** * Create a new room */ StarRtc.StarSuperRoomSDK.createNew = function ()
/** * Delete the current room */ StarRtc.StarSuperRoomSDK.deleteCurrRoom = function ()
/** * @param streamOption Stream configuration(Resolution, etc.),such as{ "video": true, "audio": { deviceId: { ideal: ["default"] } } }, or{ "video": { width: { ideal: 640 }, height: { ideal: 480 }, frameRate: { ideal: 25 }, facingMode: { ideal: ["user"] } }, "audio": { deviceId: { ideal: ["default"] } } } */ StarRtc.StarSuperRoomSDK.createStream = function (streamOption)
/** * Join the room */ StarRtc.StarSuperRoomSDK.joinRoom = function ()
/** * Leave the room * @param _flag Whether to leave actively(optional) */ StarRtc.StarSuperRoomSDK.leaveRoom = function (_flag)
/** * Send chat room message * @param msg message */ StarRtc.StarSuperRoomSDK.sendChatMsg = function (msg)
/** * Send chat room private message * @param toUserId the user ID the meaasge will be sent to * @param msg message */ StarRtc.StarSuperRoomSDK.sendChatPrivateMsg = function (userId, msg)
/** * kick out the user * @param kickOutUserId the user ID who will be kicked out */ StarRtc.StarSuperRoomSDK.kickOutUser = function (kickOutUserId)
/** * Speaking not allowed in the room * @param banUserId the user ID of who is speaking not allowed * @param banTime the time duration of speaking not allowed */ StarRtc.StarSuperRoomSDK.banToSendMsg = function (banUserId, banTime)
/** * Get the number of online users in the chat room */ StarRtc.StarSuperRoomSDK.getRoomOnlineNum = function ()
/** * Get the disconnect satus:active or passive? */ StarRtc.StarSuperRoomSDK.activeDisconnect = function ()
/** * Start the intercom */ StarRtc.StarSuperRoomSDK.startTalk = function ()
/** * End the intercom */ StarRtc.StarSuperRoomSDK.endTalk = function ()
|