@livedigital/client 2.0.0 → 2.0.1
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.es.js +1 -1
- package/dist/index.js +1 -1
- package/package.json +1 -1
- package/src/engine/network/index.ts +2 -2
package/package.json
CHANGED
|
@@ -135,7 +135,7 @@ class Network {
|
|
|
135
135
|
}
|
|
136
136
|
});
|
|
137
137
|
|
|
138
|
-
this.sendTransport.
|
|
138
|
+
this.sendTransport.on(MEDIASOUP_EVENTS.transportStateChange, (state: RTCPeerConnectionState) => {
|
|
139
139
|
this.logger.debug('sendTransport.state', { state });
|
|
140
140
|
if (state === 'failed') {
|
|
141
141
|
if (this.sendTransport) {
|
|
@@ -178,7 +178,7 @@ class Network {
|
|
|
178
178
|
}
|
|
179
179
|
});
|
|
180
180
|
|
|
181
|
-
this.receiveTransport.
|
|
181
|
+
this.receiveTransport.on(MEDIASOUP_EVENTS.transportStateChange, (state: RTCPeerConnectionState) => {
|
|
182
182
|
this.logger.debug('receiveTransport.state', { state });
|
|
183
183
|
if (state === 'failed') {
|
|
184
184
|
if (this.receiveTransport) {
|