vani-meeting-server 1.6.2 → 1.6.4

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.
@@ -165,7 +165,6 @@ class EachSocketConnectionHandler extends BaseSFUWebsocket_1.BaseSFUWebsocket {
165
165
  this.onUserLeft();
166
166
  }
167
167
  else if (paylod.type === WebSocketBasicEvents.Pong) {
168
- console.log(paylod, this.numberOfPongWaiting);
169
168
  this.numberOfPongWaiting = 0;
170
169
  }
171
170
  else if (paylod.type === WebSocketBasicEvents.GetMeetingStartTime) {
@@ -187,7 +186,7 @@ class EachSocketConnectionHandler extends BaseSFUWebsocket_1.BaseSFUWebsocket {
187
186
  }
188
187
  else if (paylod.type === WebSocketBasicEvents.GetOldMessages) {
189
188
  const messages = await RedisHandler_1.RedisHandler.getInstance().fetchMessagesForRoom(this.selfParticipant?.roomId);
190
- console.log(messages);
189
+ console.log("GetOldMessages", messages);
191
190
  this.redisBroadcastMessageToTopic(this.selfParticipant?.userId, this.preapreClientMessageBody(true, this.selfParticipant, this.preapreWebSocketMessageBody(WebSocketBasicEvents.OnOldMessages, messages)));
192
191
  }
193
192
  else if (paylod.type === WebSocketBasicEvents.OnStartMeetingCalled) {
@@ -337,7 +336,6 @@ class EachSocketConnectionHandler extends BaseSFUWebsocket_1.BaseSFUWebsocket {
337
336
  if (this.pingPongTimeout === undefined && user) {
338
337
  this.redisBroadcastMessageToTopic(this.selfParticipant.userId, this.preapreClientMessageBody(true, this.selfParticipant, this.preapreWebSocketMessageBody(WebSocketBasicEvents.Ping, { userId: this.selfParticipant.userId })));
339
338
  this.numberOfPongWaiting = this.numberOfPongWaiting + 1;
340
- console.log("Pong", this.numberOfPongWaiting);
341
339
  this.pingPongTimeout = setTimeout(this.startPingPong, 5000);
342
340
  }
343
341
  }
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "vani-meeting-server",
3
- "version": "1.6.2",
3
+ "version": "1.6.4",
4
4
  "description": "Vani Meeting Server SDK",
5
5
  "main": "lib/index.js",
6
6
  "types": "lib/index.d.ts",