@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 CHANGED
@@ -2,6 +2,13 @@
2
2
 
3
3
  This file was generated using [@jscutlery/semver](https://github.com/jscutlery/semver).
4
4
 
5
+ ## [1.17.1](https://github.com/GetStream/stream-video-js/compare/@stream-io/video-client-1.17.0...@stream-io/video-client-1.17.1) (2025-02-19)
6
+
7
+
8
+ ### Bug Fixes
9
+
10
+ * do not reconnect when device is offline ([#1688](https://github.com/GetStream/stream-video-js/issues/1688)) ([c6b6f58](https://github.com/GetStream/stream-video-js/commit/c6b6f58310a3365eb6f40d76a15c26791f413241))
11
+
5
12
  ## [1.17.0](https://github.com/GetStream/stream-video-js/compare/@stream-io/video-client-1.16.7...@stream-io/video-client-1.17.0) (2025-02-17)
6
13
 
7
14
 
@@ -5283,6 +5283,8 @@ class BasePeerConnection {
5283
5283
  this.onIceConnectionStateChange = () => {
5284
5284
  const state = this.pc.iceConnectionState;
5285
5285
  this.logger('debug', `ICE connection state changed`, state);
5286
+ if (this.state.callingState === CallingState.OFFLINE)
5287
+ return;
5286
5288
  if (this.state.callingState === CallingState.RECONNECTING)
5287
5289
  return;
5288
5290
  // do nothing when ICE is restarting
@@ -7461,7 +7463,7 @@ const aggregate = (stats) => {
7461
7463
  return report;
7462
7464
  };
7463
7465
 
7464
- const version = "1.17.0";
7466
+ const version = "1.17.1";
7465
7467
  const [major, minor, patch] = version.split('.');
7466
7468
  let sdkInfo = {
7467
7469
  type: SdkType.PLAIN_JAVASCRIPT,
@@ -13074,7 +13076,7 @@ class StreamClient {
13074
13076
  return await this.wsConnection.connect(this.defaultWSTimeout);
13075
13077
  };
13076
13078
  this.getUserAgent = () => {
13077
- const version = "1.17.0";
13079
+ const version = "1.17.1";
13078
13080
  return (this.userAgent ||
13079
13081
  `stream-video-javascript-client-${this.node ? 'node' : 'browser'}-${version}`);
13080
13082
  };