@reactoo/watchtogether-sdk-js 2.6.46 → 2.6.48
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
|
@@ -1669,6 +1669,10 @@ class RoomSession {
|
|
|
1669
1669
|
return Promise.resolve(null);
|
|
1670
1670
|
}
|
|
1671
1671
|
|
|
1672
|
+
if(config.pc.signalingState === 'stable') {
|
|
1673
|
+
//TODO
|
|
1674
|
+
}
|
|
1675
|
+
|
|
1672
1676
|
return config.pc.setRemoteDescription(jsep)
|
|
1673
1677
|
.then(() => {
|
|
1674
1678
|
config.remoteSdp = jsep.sdp;
|
|
@@ -1686,6 +1690,9 @@ class RoomSession {
|
|
|
1686
1690
|
}
|
|
1687
1691
|
// Done
|
|
1688
1692
|
return true;
|
|
1693
|
+
})
|
|
1694
|
+
.catch((e) => {
|
|
1695
|
+
return Promise.reject({type: 'warning', id: 32, message: 'rtc peer', data: [handleId, e]});
|
|
1689
1696
|
});
|
|
1690
1697
|
} else {
|
|
1691
1698
|
return Promise.reject({type: 'warning', id: 22, message: 'rtc peer', data: [handleId, 'invalid jsep']});
|