@reactoo/watchtogether-sdk-js 2.6.95 → 2.6.96
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
package/src/modules/wt-room.js
CHANGED
|
@@ -1722,6 +1722,15 @@ class RoomSession {
|
|
|
1722
1722
|
}
|
|
1723
1723
|
|
|
1724
1724
|
stats.selectedSubstream = handle.webrtcStuff.selectedSubstream[participantStats.mid];
|
|
1725
|
+
if(handle.webrtcStuff.forcedAutoMode[participantStats.mid]) {
|
|
1726
|
+
stats.simulcastMode = 'auto';
|
|
1727
|
+
}
|
|
1728
|
+
else {
|
|
1729
|
+
stats.simulcastMode = typeof this.simulcastMode === 'object'
|
|
1730
|
+
? (this.simulcastMode[participantStats.source] !== undefined ? this.simulcastMode[participantStats.source] : this.simulcastMode['default'])
|
|
1731
|
+
: this.simulcastMode;
|
|
1732
|
+
}
|
|
1733
|
+
|
|
1725
1734
|
});
|
|
1726
1735
|
|
|
1727
1736
|
// pushing stats into handle stats array but keeping only 6 last stats
|