vani-meeting-server 1.5.5 → 1.5.7

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.
@@ -194,8 +194,9 @@ class EachSocketConnectionHandler extends BaseSFUWebsocket_1.BaseSFUWebsocket {
194
194
  }
195
195
  else if (paylod.type === WebSocketBasicEvents.UpdateParticipant) {
196
196
  this.selfParticipant = paylod.data;
197
+ console.log(" WebSocketBasicEvents.UpdateParticipant", this.selfParticipant);
197
198
  RedisHandler_1.RedisHandler.getInstance().addUpdateParticipantForRoom(this.selfParticipant.roomId, this.selfParticipant);
198
- this.redisBroadcastMessageToTopic(this.selfParticipant.roomId, this.preapreClientMessageBody(false, this.selfParticipant, this.preapreWebSocketMessageBody(WebSocketBasicEvents.OnParticipantUpdated, this.selfParticipant)));
199
+ this.redisBroadcastMessageToTopic(this.selfParticipant.roomId, this.preapreClientMessageBody(true, this.selfParticipant, this.preapreWebSocketMessageBody(WebSocketBasicEvents.OnParticipantUpdated, this.selfParticipant)));
199
200
  }
200
201
  else if (paylod.type === SFUMessageType.SFUMessage) {
201
202
  const roomSFUHandler = SFUHandler_1.SFUHandler.getInstance().getRoomSFUHandler(this.selfParticipant?.roomId);
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "vani-meeting-server",
3
- "version": "1.5.5",
3
+ "version": "1.5.7",
4
4
  "description": "Vani Meeting Server SDK",
5
5
  "main": "lib/index.js",
6
6
  "types": "lib/index.d.ts",