@reactoo/watchtogether-sdk-js 2.8.57 → 2.8.58
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
|
@@ -1823,10 +1823,15 @@ class RoomSession {
|
|
|
1823
1823
|
for (let i in streams) {
|
|
1824
1824
|
const track = streams[i];
|
|
1825
1825
|
const mid = track.mid; // source.mid
|
|
1826
|
+
const type = track.type;
|
|
1826
1827
|
if(track.disabled) {
|
|
1827
1828
|
continue;
|
|
1828
1829
|
}
|
|
1829
1830
|
|
|
1831
|
+
if(type === 'video' && this._restrictToAudioOnly) {
|
|
1832
|
+
continue;
|
|
1833
|
+
}
|
|
1834
|
+
|
|
1830
1835
|
if(!this.#shouldSubscribeParticipant(id, userId, description)) {
|
|
1831
1836
|
continue;
|
|
1832
1837
|
}
|