@stream-io/video-client 1.17.0 → 1.17.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/CHANGELOG.md +7 -0
- package/dist/index.browser.es.js +4 -2
- package/dist/index.browser.es.js.map +1 -1
- package/dist/index.cjs.js +4 -2
- package/dist/index.cjs.js.map +1 -1
- package/dist/index.es.js +4 -2
- package/dist/index.es.js.map +1 -1
- package/package.json +1 -1
- package/src/rtc/BasePeerConnection.ts +1 -0
package/dist/index.es.js
CHANGED
|
@@ -5284,6 +5284,8 @@ class BasePeerConnection {
|
|
|
5284
5284
|
this.onIceConnectionStateChange = () => {
|
|
5285
5285
|
const state = this.pc.iceConnectionState;
|
|
5286
5286
|
this.logger('debug', `ICE connection state changed`, state);
|
|
5287
|
+
if (this.state.callingState === CallingState.OFFLINE)
|
|
5288
|
+
return;
|
|
5287
5289
|
if (this.state.callingState === CallingState.RECONNECTING)
|
|
5288
5290
|
return;
|
|
5289
5291
|
// do nothing when ICE is restarting
|
|
@@ -7462,7 +7464,7 @@ const aggregate = (stats) => {
|
|
|
7462
7464
|
return report;
|
|
7463
7465
|
};
|
|
7464
7466
|
|
|
7465
|
-
const version = "1.17.
|
|
7467
|
+
const version = "1.17.1";
|
|
7466
7468
|
const [major, minor, patch] = version.split('.');
|
|
7467
7469
|
let sdkInfo = {
|
|
7468
7470
|
type: SdkType.PLAIN_JAVASCRIPT,
|
|
@@ -13073,7 +13075,7 @@ class StreamClient {
|
|
|
13073
13075
|
return await this.wsConnection.connect(this.defaultWSTimeout);
|
|
13074
13076
|
};
|
|
13075
13077
|
this.getUserAgent = () => {
|
|
13076
|
-
const version = "1.17.
|
|
13078
|
+
const version = "1.17.1";
|
|
13077
13079
|
return (this.userAgent ||
|
|
13078
13080
|
`stream-video-javascript-client-${this.node ? 'node' : 'browser'}-${version}`);
|
|
13079
13081
|
};
|