vani-meeting-server 2.4.1 → 2.4.3
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/lib/ServerHandler.js
CHANGED
|
@@ -52,7 +52,9 @@ class ServerHandler {
|
|
|
52
52
|
}
|
|
53
53
|
closeTheRoomForcefully = async (roomId) => {
|
|
54
54
|
try {
|
|
55
|
+
console.log(" closeTheRoomForcefully called");
|
|
55
56
|
const participants = await RedisHandler_1.RedisHandler.getInstance().getAllParticipants(roomId);
|
|
57
|
+
console.log(" closeTheRoomForcefully called", participants);
|
|
56
58
|
if (participants && participants.length > 0) {
|
|
57
59
|
let shouldMoveToNext = true;
|
|
58
60
|
let index = 0;
|
|
@@ -235,6 +235,7 @@ class EachSocketConnectionHandler extends BaseSFUWebsocket_1.BaseSFUWebsocket {
|
|
|
235
235
|
this.sendVaniEvent(Event_1.VaniEvent.OnNewChatMessageReceived, paylod);
|
|
236
236
|
}
|
|
237
237
|
closeRoomForcefully = async () => {
|
|
238
|
+
console.log(" closeRoomForcefully inside each");
|
|
238
239
|
this.redisBroadcastMessageToTopic(this.selfParticipant?.roomId, this.preapreClientMessageBody(true, this.selfParticipant, this.preapreWebSocketMessageBody(WebSocketBasicEvents.CloseRoomForceFully, {})));
|
|
239
240
|
const roomId = this.selfParticipant?.roomId;
|
|
240
241
|
setTimeout(async () => {
|