@livedigital/client 2.28.0 → 2.29.0
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 +9 -0
package/package.json
CHANGED
|
@@ -158,6 +158,10 @@ class Network {
|
|
|
158
158
|
this.logger.warn('sendTransport.restartIce()');
|
|
159
159
|
}
|
|
160
160
|
}
|
|
161
|
+
|
|
162
|
+
if (state === 'disconnected' && this.socket.connection?.connected) {
|
|
163
|
+
this.logger.warn('sendTransport is closed before websocket is closed');
|
|
164
|
+
}
|
|
161
165
|
});
|
|
162
166
|
}
|
|
163
167
|
|
|
@@ -200,6 +204,10 @@ class Network {
|
|
|
200
204
|
this.logger.debug('receiveTransport.restartIce()');
|
|
201
205
|
}
|
|
202
206
|
}
|
|
207
|
+
|
|
208
|
+
if (state === 'disconnected' && this.socket.connection?.connected) {
|
|
209
|
+
this.logger.warn('receiveTransport is closed before websocket is closed');
|
|
210
|
+
}
|
|
203
211
|
});
|
|
204
212
|
}
|
|
205
213
|
|
|
@@ -221,6 +229,7 @@ class Network {
|
|
|
221
229
|
try {
|
|
222
230
|
const iceParameters = await this.getIceParameters(transport);
|
|
223
231
|
await transport.restartIce({ iceParameters });
|
|
232
|
+
this.logger.debug('restartIce() completed', { iceParameters });
|
|
224
233
|
} catch (error) {
|
|
225
234
|
this.logger.error('restartIce()', { error });
|
|
226
235
|
}
|