@stream-io/video-client 0.1.9 → 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 +14 -0
- package/dist/index.browser.es.js +14 -1
- package/dist/index.browser.es.js.map +1 -1
- package/dist/index.cjs.js +14 -1
- package/dist/index.cjs.js.map +1 -1
- package/dist/index.es.js +14 -1
- package/dist/index.es.js.map +1 -1
- package/dist/src/StreamVideoClient.d.ts +4 -0
- package/dist/version.d.ts +1 -1
- package/package.json +1 -1
- package/src/Call.ts +9 -0
- package/src/StreamVideoClient.ts +7 -0
- package/src/__tests__/server-side/call-members.test.ts +1 -1
- package/src/__tests__/server-side/call.test.ts +1 -1
- package/src/rtc/__tests__/videoLayers.test.ts +22 -0
- package/src/rtc/codecs.ts +2 -2
package/CHANGELOG.md
CHANGED
|
@@ -2,6 +2,20 @@
|
|
|
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
|
+
|
|
12
|
+
### [0.1.10](https://github.com/GetStream/stream-video-js/compare/client0.1.9...client0.1.10) (2023-08-01)
|
|
13
|
+
|
|
14
|
+
|
|
15
|
+
### Features
|
|
16
|
+
|
|
17
|
+
* **client:** Create state shortcut for client state store ([#888](https://github.com/GetStream/stream-video-js/issues/888)) ([799c90d](https://github.com/GetStream/stream-video-js/commit/799c90d7a22fc90b497493764916e3f620a1481b))
|
|
18
|
+
|
|
5
19
|
### [0.1.9](https://github.com/GetStream/stream-video-js/compare/client0.1.8...client0.1.9) (2023-07-28)
|
|
6
20
|
|
|
7
21
|
|
package/dist/index.browser.es.js
CHANGED
|
@@ -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.
|
|
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/`;
|
|
@@ -12458,6 +12465,12 @@ class StreamVideoClient {
|
|
|
12458
12465
|
}
|
|
12459
12466
|
}
|
|
12460
12467
|
}
|
|
12468
|
+
/**
|
|
12469
|
+
* Return the reactive state store, use this if you want to be notified about changes to the client state
|
|
12470
|
+
*/
|
|
12471
|
+
get state() {
|
|
12472
|
+
return this.readOnlyStateStore;
|
|
12473
|
+
}
|
|
12461
12474
|
/**
|
|
12462
12475
|
* Connects the given user to the client.
|
|
12463
12476
|
* Only one user can connect at a time, if you want to change users, call `disconnectUser` before connecting a new user.
|