@reactoo/watchtogether-sdk-js 2.6.92 → 2.6.94

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.
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@reactoo/watchtogether-sdk-js",
3
- "version": "2.6.92",
3
+ "version": "2.6.94",
4
4
  "description": "Javascript SDK for Reactoo",
5
5
  "main": "src/index.js",
6
6
  "unpkg": "dist/watchtogether-sdk.min.js",
@@ -1761,8 +1761,8 @@ class RoomSession {
1761
1761
  if(handle.webrtcStuff.stats[participantStats.mid].length > this._statsMaxLength) {
1762
1762
  handle.webrtcStuff.stats[participantStats.mid].shift();
1763
1763
  }
1764
-
1765
- this.emit('rtcStats', {handleId: participantStats.handle.handleId, stats, source: participantStats.source, mid: participantsStats.mid});
1764
+
1765
+ this.emit('rtcStats', {handleId: participantStats.handle.handleId, stats, userId: decodeJanusDisplay(participantStats.handle.userId)?.userId, source: participantStats.source, mid: participantStats.mid});
1766
1766
  }
1767
1767
  }
1768
1768
  });