@reactoo/watchtogether-sdk-js 2.5.87 → 2.5.89
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-iot.js
CHANGED
|
@@ -184,6 +184,7 @@ class Iot {
|
|
|
184
184
|
event === 'record_livestream_kick' ||
|
|
185
185
|
event === 'user_update_displayname' ||
|
|
186
186
|
event === 'user_update_avatar' ||
|
|
187
|
+
event === 'user_update_bio' ||
|
|
187
188
|
event === 'user_update_customattributes' ||
|
|
188
189
|
event === 'user_update_privateattributes' ||
|
|
189
190
|
event === 'channel_changed' ||
|
package/src/modules/wt-room.js
CHANGED
|
@@ -1259,6 +1259,10 @@ class RoomSession {
|
|
|
1259
1259
|
pc_config.bundlePolicy = "max-bundle";
|
|
1260
1260
|
}
|
|
1261
1261
|
|
|
1262
|
+
// pc_config.bundlePolicy = 'balanced';
|
|
1263
|
+
// pc_config.iceTransportPolicy = 'relay';
|
|
1264
|
+
// pc_config.rtcpMuxPolicy = "negotiate";
|
|
1265
|
+
|
|
1262
1266
|
this._log('new RTCPeerConnection', pc_config, pc_constraints);
|
|
1263
1267
|
|
|
1264
1268
|
config.pc = new RTCPeerConnection(pc_config, pc_constraints);
|
|
@@ -1531,7 +1535,7 @@ class RoomSession {
|
|
|
1531
1535
|
config.isIceRestarting = true;
|
|
1532
1536
|
let hasAudio = !!(config.stream && config.stream.getAudioTracks().length > 0);
|
|
1533
1537
|
let hasVideo = !!(config.stream && config.stream.getVideoTracks().length > 0);
|
|
1534
|
-
this._setupTransceivers([hasAudio, false, hasVideo, false]);
|
|
1538
|
+
this._setupTransceivers(handleId,[hasAudio, false, hasVideo, false]);
|
|
1535
1539
|
this._createAO('offer', handleId, true )
|
|
1536
1540
|
.then((jsep) => {
|
|
1537
1541
|
if (!jsep) {
|