@stream-io/video-client 0.1.10 → 0.1.11

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
+ ### [0.1.11](https://github.com/GetStream/stream-video-js/compare/client0.1.10...client0.1.11) (2023-08-04)
6
+
7
+
8
+ ### Bug Fixes
9
+
10
+ * update subscriptions when restoring connection ([#898](https://github.com/GetStream/stream-video-js/issues/898)) ([55e78c7](https://github.com/GetStream/stream-video-js/commit/55e78c77df5dfa22a4068ad40eb5aeb8a6a9fa8a))
11
+
5
12
  ### [0.1.10](https://github.com/GetStream/stream-video-js/compare/client0.1.9...client0.1.10) (2023-08-01)
6
13
 
7
14
 
@@ -9854,6 +9854,13 @@ class Call {
9854
9854
  this.state.setStartedAt(startedAt);
9855
9855
  this.reconnectAttempts = 0; // reset the reconnect attempts counter
9856
9856
  this.state.setCallingState(CallingState.JOINED);
9857
+ // 3. once we have the "joinResponse", and possibly reconciled the local state
9858
+ // we schedule a fast subscription update for all remote participants
9859
+ // that were visible before we reconnected or migrated to a new SFU.
9860
+ const { remoteParticipants } = this.state;
9861
+ if (remoteParticipants.length > 0) {
9862
+ this.updateSubscriptions(remoteParticipants, DebounceType.FAST);
9863
+ }
9857
9864
  this.logger('info', `Joined call ${this.cid}`);
9858
9865
  }
9859
9866
  catch (err) {
@@ -11644,7 +11651,7 @@ class WSConnectionFallback {
11644
11651
  }
11645
11652
  }
11646
11653
 
11647
- const version = '0.1.10';
11654
+ const version = '0.1.11';
11648
11655
 
11649
11656
  const logger = getLogger(['location']);
11650
11657
  const HINT_URL = `https://hint.stream-io-video.com/`;