@stream-io/video-client 1.21.0 → 1.22.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.
Files changed (45) hide show
  1. package/CHANGELOG.md +19 -0
  2. package/dist/index.browser.es.js +171 -143
  3. package/dist/index.browser.es.js.map +1 -1
  4. package/dist/index.cjs.js +171 -143
  5. package/dist/index.cjs.js.map +1 -1
  6. package/dist/index.d.ts +0 -1
  7. package/dist/index.es.js +171 -143
  8. package/dist/index.es.js.map +1 -1
  9. package/dist/src/Call.d.ts +2 -0
  10. package/dist/src/devices/InputMediaDeviceManager.d.ts +3 -3
  11. package/dist/src/devices/SpeakerState.d.ts +3 -1
  12. package/dist/src/devices/devices.d.ts +8 -8
  13. package/dist/src/events/call.d.ts +1 -1
  14. package/dist/src/gen/video/sfu/models/models.d.ts +8 -0
  15. package/dist/src/rtc/BasePeerConnection.d.ts +1 -0
  16. package/dist/src/stats/SfuStatsReporter.d.ts +5 -1
  17. package/dist/src/stats/utils.d.ts +14 -0
  18. package/index.ts +0 -4
  19. package/package.json +10 -10
  20. package/src/Call.ts +15 -8
  21. package/src/devices/CameraManager.ts +27 -23
  22. package/src/devices/InputMediaDeviceManager.ts +8 -5
  23. package/src/devices/MicrophoneManager.ts +1 -1
  24. package/src/devices/ScreenShareManager.ts +2 -2
  25. package/src/devices/SpeakerManager.ts +2 -1
  26. package/src/devices/SpeakerState.ts +6 -3
  27. package/src/devices/__tests__/CameraManager.test.ts +43 -27
  28. package/src/devices/__tests__/MicrophoneManager.test.ts +5 -3
  29. package/src/devices/__tests__/ScreenShareManager.test.ts +5 -1
  30. package/src/devices/__tests__/mocks.ts +2 -3
  31. package/src/devices/devices.ts +38 -16
  32. package/src/events/__tests__/call.test.ts +23 -0
  33. package/src/events/call.ts +12 -1
  34. package/src/gen/video/sfu/models/models.ts +14 -0
  35. package/src/rtc/BasePeerConnection.ts +11 -5
  36. package/src/rtc/Publisher.ts +5 -1
  37. package/src/rtc/__tests__/Publisher.test.ts +2 -2
  38. package/src/rtc/__tests__/Subscriber.test.ts +2 -2
  39. package/src/rtc/__tests__/mocks/webrtc.mocks.ts +1 -1
  40. package/src/rtc/__tests__/videoLayers.test.ts +44 -0
  41. package/src/rtc/videoLayers.ts +6 -3
  42. package/src/stats/SfuStatsReporter.ts +15 -5
  43. package/src/stats/utils.ts +15 -0
  44. package/dist/src/stats/rtc/mediaDevices.d.ts +0 -2
  45. package/src/stats/rtc/mediaDevices.ts +0 -43
package/CHANGELOG.md CHANGED
@@ -2,6 +2,25 @@
2
2
 
3
3
  This file was generated using [@jscutlery/semver](https://github.com/jscutlery/semver).
4
4
 
5
+ ## [1.22.1](https://github.com/GetStream/stream-video-js/compare/@stream-io/video-client-1.22.0...@stream-io/video-client-1.22.1) (2025-05-14)
6
+
7
+ ### Bug Fixes
8
+
9
+ - fixes an edge case where tracks weren't restored after a reconnect ([#1789](https://github.com/GetStream/stream-video-js/issues/1789)) ([d825e8e](https://github.com/GetStream/stream-video-js/commit/d825e8e39ac8cbd072ec9d5124e1ea0226216e08))
10
+
11
+ ## [1.22.0](https://github.com/GetStream/stream-video-js/compare/@stream-io/video-client-1.21.0...@stream-io/video-client-1.22.0) (2025-05-08)
12
+
13
+ ### Features
14
+
15
+ - Expo 53 Swift Config Plugin and React Native 0.79 compatibility ([#1714](https://github.com/GetStream/stream-video-js/issues/1714)) ([380331e](https://github.com/GetStream/stream-video-js/commit/380331e11fd6182c3111413aa25689a669dd3c9c))
16
+
17
+ ### Bug Fixes
18
+
19
+ - graceful handling of LIVE_ENDED CallEnded reason ([#1783](https://github.com/GetStream/stream-video-js/issues/1783)) ([ff54390](https://github.com/GetStream/stream-video-js/commit/ff54390099e10c550b8bbac42658080a65007a30))
20
+ - isolate mediaDevices traces ([#1779](https://github.com/GetStream/stream-video-js/issues/1779)) ([d8623f0](https://github.com/GetStream/stream-video-js/commit/d8623f0b06a6229bff96ea01dd1f2b851b7d3558)), closes [#1765](https://github.com/GetStream/stream-video-js/issues/1765)
21
+ - make camera.flip() work more reliably with older devices ([#1781](https://github.com/GetStream/stream-video-js/issues/1781)) ([9dfbc55](https://github.com/GetStream/stream-video-js/commit/9dfbc556155c1ae9b528b50b140313c4decb024f)), closes [#1679](https://github.com/GetStream/stream-video-js/issues/1679)
22
+ - use scoped locking for PeerConnection events ([#1785](https://github.com/GetStream/stream-video-js/issues/1785)) ([b0f93e8](https://github.com/GetStream/stream-video-js/commit/b0f93e83e70520b527efd94e9192ac7dca031864))
23
+
5
24
  ## [1.21.0](https://github.com/GetStream/stream-video-js/compare/@stream-io/video-client-1.20.2...@stream-io/video-client-1.21.0) (2025-05-02)
6
25
 
7
26
  ### Features