@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/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@stream-io/video-client",
3
- "version": "1.17.0",
3
+ "version": "1.17.1",
4
4
  "packageManager": "yarn@3.2.4",
5
5
  "main": "dist/index.cjs.js",
6
6
  "module": "dist/index.es.js",
@@ -206,6 +206,7 @@ export abstract class BasePeerConnection {
206
206
  const state = this.pc.iceConnectionState;
207
207
  this.logger('debug', `ICE connection state changed`, state);
208
208
 
209
+ if (this.state.callingState === CallingState.OFFLINE) return;
209
210
  if (this.state.callingState === CallingState.RECONNECTING) return;
210
211
 
211
212
  // do nothing when ICE is restarting