vani-meeting-server 1.5.9 → 1.6.0

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.
@@ -163,6 +163,7 @@ class EachSocketConnectionHandler extends BaseSFUWebsocket_1.BaseSFUWebsocket {
163
163
  this.onUserLeft();
164
164
  }
165
165
  else if (paylod.type === WebSocketBasicEvents.Pong) {
166
+ console.log(paylod, this.numberOfPongWaiting);
166
167
  this.numberOfPongWaiting = 0;
167
168
  }
168
169
  else if (paylod.type === WebSocketBasicEvents.GetMeetingStartTime) {
@@ -331,6 +332,7 @@ class EachSocketConnectionHandler extends BaseSFUWebsocket_1.BaseSFUWebsocket {
331
332
  }
332
333
  this.redisBroadcastMessageToTopic(this.selfParticipant.userId, this.preapreClientMessageBody(true, this.selfParticipant, this.preapreWebSocketMessageBody(WebSocketBasicEvents.Ping, { userId: this.selfParticipant.userId })));
333
334
  this.numberOfPongWaiting = this.numberOfPongWaiting + 1;
335
+ console.log("Pong", this.numberOfPongWaiting);
334
336
  setTimeout(this.startPingPong, 5000);
335
337
  }
336
338
  }
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "vani-meeting-server",
3
- "version": "1.5.9",
3
+ "version": "1.6.0",
4
4
  "description": "Vani Meeting Server SDK",
5
5
  "main": "lib/index.js",
6
6
  "types": "lib/index.d.ts",