vani-meeting-server 1.7.2 → 1.7.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.
|
@@ -72,7 +72,8 @@ class SFUEachRoomHandler extends BaseSFUWebsocket_1.BaseSFUWebsocket {
|
|
|
72
72
|
const pipeTransport = await this.sendRouter?.createPipeTransport({ listenIp: { ip: '0.0.0.0', announcedIp: await Constant_1.default.getPublicIp() }, port: port });
|
|
73
73
|
if (pipeTransport) {
|
|
74
74
|
this.pipeTransports[eachIp.ip] = pipeTransport;
|
|
75
|
-
this.redisBroadcastMessageToTopic(this.roomId, this.prepareMutilSystemEvents(EachSocketConnectionHandler_1.MultiSystemEvents.OnNewServerJoinedForRoom,
|
|
75
|
+
this.redisBroadcastMessageToTopic(Utility_1.Utility.getTopicForRoomIdAndIp(this.roomId, eachIp.ip), this.prepareMutilSystemEvents(EachSocketConnectionHandler_1.MultiSystemEvents.OnNewServerJoinedForRoom, this.roomId, { ip: await Constant_1.default.getPublicIp(), port: port }));
|
|
76
|
+
console.log("informOtherSystems msg sent to ", Utility_1.Utility.getTopicForRoomIdAndIp(this.roomId, eachIp.ip));
|
|
76
77
|
}
|
|
77
78
|
}
|
|
78
79
|
}));
|
|
@@ -405,6 +405,7 @@ class EachSocketConnectionHandler extends BaseSFUWebsocket_1.BaseSFUWebsocket {
|
|
|
405
405
|
this.sendMessageToClient(socketMessageBody);
|
|
406
406
|
}
|
|
407
407
|
else if (data.interfaceName === 'MultiSystemEventsBody') {
|
|
408
|
+
console.log("MultiSystemEventsBody recived ", data);
|
|
408
409
|
const multiSystemEvent = data;
|
|
409
410
|
const roomSFUHandler = SFUHandler_1.SFUHandler.getInstance().getRoomSFUHandler(multiSystemEvent.roomId);
|
|
410
411
|
if (roomSFUHandler) {
|