vani-meeting-server 2.2.9 → 2.3.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.
@@ -166,7 +166,7 @@ class EachSocketConnectionHandler extends BaseSFUWebsocket_1.BaseSFUWebsocket {
166
166
  }
167
167
  async onNewMessage(msgData) {
168
168
  this.numberOfPongWaiting = 0;
169
- if ((this.lastPingTime + 20) < new Date().getTime()) {
169
+ if ((this.lastPingTime + (20 * 1000)) < new Date().getTime()) {
170
170
  this.startPingPong();
171
171
  }
172
172
  const paylod = JSON.parse(msgData);
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "vani-meeting-server",
3
- "version": "2.2.9",
3
+ "version": "2.3.0",
4
4
  "description": "Vani Meeting Server SDK",
5
5
  "main": "lib/index.js",
6
6
  "types": "lib/index.d.ts",