@reactoo/watchtogether-sdk-js 2.6.70 → 2.6.71
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
|
@@ -816,6 +816,8 @@ class RoomSession {
|
|
|
816
816
|
role: decodeJanusDisplay(handle.userId)?.role,
|
|
817
817
|
stream: null,
|
|
818
818
|
streamMap: structuredClone(handle.webrtcStuff?.streamMap),
|
|
819
|
+
tracksMap: structuredClone(handle.webrtcStuff?.tracksMap),
|
|
820
|
+
transceiverMap: structuredClone(handle.webrtcStuff?.transceiverMap),
|
|
819
821
|
source: null,
|
|
820
822
|
track: null,
|
|
821
823
|
adding: false,
|
|
@@ -1873,6 +1875,8 @@ class RoomSession {
|
|
|
1873
1875
|
role: decodeJanusDisplay(handle.userId)?.role,
|
|
1874
1876
|
stream: config.stream,
|
|
1875
1877
|
streamMap: structuredClone(config.streamMap),
|
|
1878
|
+
tracksMap: structuredClone(config.tracksMap),
|
|
1879
|
+
transceiverMap: structuredClone(config.transceiverMap),
|
|
1876
1880
|
track: null,
|
|
1877
1881
|
source: null,
|
|
1878
1882
|
constructId: this.constructId,
|
|
@@ -1897,6 +1901,8 @@ class RoomSession {
|
|
|
1897
1901
|
role: decodeJanusDisplay(handle.userId)?.role,
|
|
1898
1902
|
stream: config.stream,
|
|
1899
1903
|
streamMap: structuredClone(config.streamMap),
|
|
1904
|
+
tracksMap: structuredClone(config.tracksMap),
|
|
1905
|
+
transceiverMap: structuredClone(config.transceiverMap),
|
|
1900
1906
|
track: null,
|
|
1901
1907
|
source: null,
|
|
1902
1908
|
constructId: this.constructId,
|
|
@@ -1964,6 +1970,8 @@ class RoomSession {
|
|
|
1964
1970
|
role: decodeJanusDisplay(handle.userId)?.role,
|
|
1965
1971
|
stream: config.stream,
|
|
1966
1972
|
streamMap: structuredClone(config.streamMap),
|
|
1973
|
+
tracksMap: structuredClone(config.tracksMap),
|
|
1974
|
+
transceiverMap: structuredClone(config.transceiverMap),
|
|
1967
1975
|
source,
|
|
1968
1976
|
track: ev.track,
|
|
1969
1977
|
adding: false,
|
|
@@ -1990,6 +1998,8 @@ class RoomSession {
|
|
|
1990
1998
|
role: decodeJanusDisplay(handle.userId)?.role,
|
|
1991
1999
|
stream: config.stream,
|
|
1992
2000
|
streamMap: structuredClone(config.streamMap),
|
|
2001
|
+
tracksMap: structuredClone(config.tracksMap),
|
|
2002
|
+
transceiverMap: structuredClone(config.transceiverMap),
|
|
1993
2003
|
source,
|
|
1994
2004
|
track: event.track,
|
|
1995
2005
|
constructId: this.constructId,
|
|
@@ -2023,6 +2033,8 @@ class RoomSession {
|
|
|
2023
2033
|
role: decodeJanusDisplay(handle.userId)?.role,
|
|
2024
2034
|
stream: config.stream,
|
|
2025
2035
|
streamMap: structuredClone(config.streamMap),
|
|
2036
|
+
tracksMap: structuredClone(config.tracksMap),
|
|
2037
|
+
transceiverMap: structuredClone(config.transceiverMap),
|
|
2026
2038
|
source,
|
|
2027
2039
|
track: ev.target,
|
|
2028
2040
|
adding: false,
|