vani-meeting-server 2.3.1 → 2.3.2

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.
@@ -141,7 +141,7 @@ class EachSocketConnectionHandler extends BaseSFUWebsocket_1.BaseSFUWebsocket {
141
141
  this.subscribeToRedisMessages();
142
142
  }
143
143
  async onSocketClosed(event) {
144
- console.log("Socket close code", event);
144
+ console.log("Socket close code", event, this.selfParticipant);
145
145
  if (String(event).includes("1005") || String(event).includes("1001") || String(event).includes("1000")) {
146
146
  this.onUserLeft();
147
147
  }
@@ -26,7 +26,7 @@ class WebSocketHandler {
26
26
  }
27
27
  connect() {
28
28
  this.wss.on("connection", (socket, req) => {
29
- console.log("On New Connection");
29
+ console.log("On New Connection", req.url);
30
30
  const eachSocketConnection = new EachSocketConnectionHandler_1.EachSocketConnectionHandler(socket, req.url ? req.url.includes('reconnect') : false);
31
31
  eachSocketConnection.init();
32
32
  eachSocketConnection.onDestoryCallback((socketConnection) => {
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "vani-meeting-server",
3
- "version": "2.3.1",
3
+ "version": "2.3.2",
4
4
  "description": "Vani Meeting Server SDK",
5
5
  "main": "lib/index.js",
6
6
  "types": "lib/index.d.ts",