node-rtc-connection 1.0.15 → 1.0.17
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/dist/index.cjs +5 -4
- package/dist/index.cjs.map +1 -1
- package/dist/index.mjs +5 -4
- package/dist/index.mjs.map +1 -1
- package/package.json +1 -1
- package/src/peerconnection/RTCPeerConnection.js +4 -3
package/dist/index.mjs
CHANGED
|
@@ -5084,10 +5084,11 @@ function requireRTCPeerConnection () {
|
|
|
5084
5084
|
if (this._sctpTransport.state === 'connected') {
|
|
5085
5085
|
for (const channel of this._dataChannels.values()) {
|
|
5086
5086
|
if (channel.readyState === 'connecting') {
|
|
5087
|
-
channel
|
|
5088
|
-
|
|
5089
|
-
// Hook up channel to network transport
|
|
5087
|
+
// Hook up channel to network transport first
|
|
5090
5088
|
this._connectChannelToNetwork(channel);
|
|
5089
|
+
|
|
5090
|
+
// Then set state to open (emits 'open' event)
|
|
5091
|
+
channel._setStateToOpen();
|
|
5091
5092
|
}
|
|
5092
5093
|
}
|
|
5093
5094
|
}
|
|
@@ -5316,7 +5317,7 @@ function requireRTCPeerConnection () {
|
|
|
5316
5317
|
return RTCPeerConnection_1;
|
|
5317
5318
|
}
|
|
5318
5319
|
|
|
5319
|
-
var version = "1.0.
|
|
5320
|
+
var version = "1.0.17";
|
|
5320
5321
|
var require$$10 = {
|
|
5321
5322
|
version: version};
|
|
5322
5323
|
|