@reactoo/watchtogether-sdk-js 2.6.46 → 2.6.47
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
|
@@ -1700,6 +1700,11 @@ class RoomSession {
|
|
|
1700
1700
|
}
|
|
1701
1701
|
var config = handle.webrtcStuff;
|
|
1702
1702
|
|
|
1703
|
+
if(config.pc.signalingState === 'stable') {
|
|
1704
|
+
this._log('ICE restart not needed');
|
|
1705
|
+
return;
|
|
1706
|
+
}
|
|
1707
|
+
|
|
1703
1708
|
if (this.handleId === handleId) {
|
|
1704
1709
|
this._log('Performing local ICE restart');
|
|
1705
1710
|
let hasAudio = !!(config.stream && config.stream.getAudioTracks().length > 0);
|