@stream-io/video-client 1.61.0 → 2.0.0-beta.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 +10 -10
- package/dist/index.browser.es.js +358 -611
- package/dist/index.browser.es.js.map +1 -1
- package/dist/index.cjs.js +357 -611
- package/dist/index.cjs.js.map +1 -1
- package/dist/index.es.js +358 -611
- package/dist/index.es.js.map +1 -1
- package/dist/src/Call.d.ts +3 -3
- package/dist/src/StreamVideoClient.d.ts +15 -21
- package/dist/src/store/CallState.d.ts +108 -266
- package/dist/src/store/ClientState.d.ts +62 -0
- package/dist/src/store/index.d.ts +1 -1
- package/dist/src/store/subjects.d.ts +15 -0
- package/dist/src/store/types.d.ts +22 -0
- package/dist/src/types.d.ts +3 -3
- package/package.json +2 -2
- package/src/Call.ts +14 -18
- package/src/StreamVideoClient.ts +40 -47
- package/src/__tests__/Call.autodrop.test.ts +4 -4
- package/src/__tests__/Call.getRingState.test.ts +2 -2
- package/src/__tests__/Call.lifecycle.test.ts +8 -8
- package/src/__tests__/Call.publishing.test.ts +2 -2
- package/src/__tests__/Call.ringSettled.test.ts +4 -4
- package/src/__tests__/Call.ringingLifecycle.test.ts +2 -2
- package/src/__tests__/StreamVideoClient.disconnect.test.ts +62 -0
- package/src/devices/__tests__/CameraManager.test.ts +2 -2
- package/src/devices/__tests__/DeviceManager.test.ts +2 -2
- package/src/devices/__tests__/DeviceManagerFilters.test.ts +2 -2
- package/src/devices/__tests__/MicrophoneManager.test.ts +2 -2
- package/src/devices/__tests__/MicrophoneManagerRN.test.ts +2 -2
- package/src/devices/__tests__/ScreenShareManager.test.ts +3 -3
- package/src/devices/__tests__/SpeakerManager.test.ts +4 -4
- package/src/events/__tests__/call.test.ts +3 -3
- package/src/helpers/__tests__/AudioBindingsWatchdog.test.ts +2 -2
- package/src/helpers/__tests__/DynascaleManager.test.ts +2 -2
- package/src/helpers/__tests__/ViewportTracker.test.ts +2 -2
- package/src/ringing/__tests__/RingStatePoller.test.ts +7 -7
- package/src/ringing/__tests__/RingTimeout.test.ts +4 -4
- package/src/ringing/__tests__/reconcileRingState.test.ts +3 -3
- package/src/rtc/__tests__/Call.reconnect.test.ts +5 -5
- package/src/store/CallState.ts +281 -551
- package/src/store/ClientState.ts +101 -0
- package/src/store/__tests__/CallState.test.ts +1 -1
- package/src/store/__tests__/ClientState.test.ts +35 -0
- package/src/store/__tests__/rxUtils.test.ts +67 -1
- package/src/store/index.ts +1 -1
- package/src/store/rxUtils.ts +8 -4
- package/src/store/subjects.ts +30 -0
- package/src/store/types.ts +45 -0
- package/src/types.ts +3 -3
- package/dist/src/store/stateStore.d.ts +0 -84
- package/src/store/stateStore.ts +0 -156
package/CHANGELOG.md
CHANGED
|
@@ -2,25 +2,25 @@
|
|
|
2
2
|
|
|
3
3
|
This file was generated using [@jscutlery/semver](https://github.com/jscutlery/semver).
|
|
4
4
|
|
|
5
|
-
## [
|
|
5
|
+
## [2.0.0-beta.1](https://github.com/GetStream/stream-video-js/compare/@stream-io/video-client-2.0.0-beta.0...@stream-io/video-client-2.0.0-beta.1) (2026-09-28)
|
|
6
6
|
|
|
7
7
|
### Features
|
|
8
8
|
|
|
9
|
-
- **
|
|
9
|
+
- **client:** identify the SDK and version on SFU RPCs ([#2425](https://github.com/GetStream/stream-video-js/issues/2425)) ([2312002](https://github.com/GetStream/stream-video-js/commit/2312002e455ecb0060c5393a0b0845eb16057322))
|
|
10
|
+
- **client:** poll ring state to reconcile a dropped ring outcome ([#2393](https://github.com/GetStream/stream-video-js/issues/2393)) ([73bfc98](https://github.com/GetStream/stream-video-js/commit/73bfc980560786790597dfb1b512e3835e316bfc))
|
|
11
|
+
- **client:** replace the two client state stores with a single ClientState ([#2422](https://github.com/GetStream/stream-video-js/issues/2422)) ([cd24816](https://github.com/GetStream/stream-video-js/commit/cd2481659483430af529042cc5603c9cd1fd0e44)), closes [#2419](https://github.com/GetStream/stream-video-js/issues/2419) [#2419](https://github.com/GetStream/stream-video-js/issues/2419)
|
|
12
|
+
- **rn:** add end-to-end encryption support ([#2427](https://github.com/GetStream/stream-video-js/issues/2427)) ([fd70b35](https://github.com/GetStream/stream-video-js/commit/fd70b3597beb5867b21f254c76fd6d4e6e2e731b))
|
|
10
13
|
|
|
11
14
|
### Bug Fixes
|
|
12
15
|
|
|
13
|
-
- **client:** abandon retries when leave supersedes join ([#2441](https://github.com/GetStream/stream-video-js/issues/2441)) ([
|
|
14
|
-
- **client:** never publish unencrypted media before the E2EE transform is attached ([#2460](https://github.com/GetStream/stream-video-js/issues/2460)) ([
|
|
16
|
+
- **client:** abandon retries when leave supersedes join ([#2441](https://github.com/GetStream/stream-video-js/issues/2441)) ([1936cb5](https://github.com/GetStream/stream-video-js/commit/1936cb5dc0b9a5e81ebb2a1f92ff9ac57231c583))
|
|
17
|
+
- **client:** never publish unencrypted media before the E2EE transform is attached ([#2460](https://github.com/GetStream/stream-video-js/issues/2460)) ([2419b01](https://github.com/GetStream/stream-video-js/commit/2419b016341f345c8eff960f49bf7dee3b4e5a4e))
|
|
15
18
|
|
|
16
|
-
|
|
19
|
+
### Performance Improvements
|
|
17
20
|
|
|
18
|
-
|
|
19
|
-
|
|
20
|
-
- **client:** identify the SDK and version on SFU RPCs ([#2425](https://github.com/GetStream/stream-video-js/issues/2425)) ([107ff39](https://github.com/GetStream/stream-video-js/commit/107ff390c706beca4417d4ef5e2c7ec9bbbc321d))
|
|
21
|
-
- **client:** poll ring state to reconcile a dropped ring outcome ([#2393](https://github.com/GetStream/stream-video-js/issues/2393)) ([4605ac1](https://github.com/GetStream/stream-video-js/commit/4605ac1daf603382b7d3a6267e4852ac9fbfc0eb)), closes [#2422](https://github.com/GetStream/stream-video-js/issues/2422)
|
|
21
|
+
- **client:** one declaration site per CallState field, faster state reads ([#2419](https://github.com/GetStream/stream-video-js/issues/2419)) ([4c720ee](https://github.com/GetStream/stream-video-js/commit/4c720eea177e458c8a9e4f67906d286c4ec68c4b)), closes [#1095](https://github.com/GetStream/stream-video-js/issues/1095)
|
|
22
22
|
|
|
23
|
-
## [
|
|
23
|
+
## [2.0.0-beta.0](https://github.com/GetStream/stream-video-js/compare/@stream-io/video-client-1.59.0...@stream-io/video-client-2.0.0-beta.0) (2026-09-04)
|
|
24
24
|
|
|
25
25
|
### Bug Fixes
|
|
26
26
|
|