@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/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.0";
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.0";
13078
+ const version = "1.17.1";
13077
13079
  return (this.userAgent ||
13078
13080
  `stream-video-javascript-client-${this.node ? 'node' : 'browser'}-${version}`);
13079
13081
  };