@stream-io/video-client 1.23.5 → 1.25.0

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 (50) hide show
  1. package/CHANGELOG.md +25 -0
  2. package/dist/index.browser.es.js +463 -137
  3. package/dist/index.browser.es.js.map +1 -1
  4. package/dist/index.cjs.js +463 -135
  5. package/dist/index.cjs.js.map +1 -1
  6. package/dist/index.es.js +463 -137
  7. package/dist/index.es.js.map +1 -1
  8. package/dist/src/Call.d.ts +9 -2
  9. package/dist/src/StreamSfuClient.d.ts +12 -4
  10. package/dist/src/StreamVideoClient.d.ts +3 -1
  11. package/dist/src/coordinator/connection/errors.d.ts +1 -0
  12. package/dist/src/gen/coordinator/index.d.ts +407 -117
  13. package/dist/src/gen/shims.d.ts +4 -2
  14. package/dist/src/gen/video/sfu/models/models.d.ts +4 -0
  15. package/dist/src/rtc/BasePeerConnection.d.ts +23 -4
  16. package/dist/src/rtc/NegotiationError.d.ts +15 -0
  17. package/dist/src/rtc/Publisher.d.ts +2 -2
  18. package/dist/src/rtc/helpers/sdp.d.ts +7 -0
  19. package/dist/src/stats/types.d.ts +25 -0
  20. package/dist/src/store/CallState.d.ts +5 -0
  21. package/dist/src/types.d.ts +11 -0
  22. package/package.json +1 -1
  23. package/src/Call.ts +86 -45
  24. package/src/StreamSfuClient.ts +17 -7
  25. package/src/StreamVideoClient.ts +17 -7
  26. package/src/coordinator/connection/connection.ts +2 -1
  27. package/src/coordinator/connection/errors.ts +31 -0
  28. package/src/devices/ScreenShareManager.ts +12 -2
  29. package/src/devices/devices.ts +23 -12
  30. package/src/events/__tests__/internal.test.ts +1 -0
  31. package/src/gen/coordinator/index.ts +398 -117
  32. package/src/gen/google/protobuf/struct.ts +2 -2
  33. package/src/gen/google/protobuf/timestamp.ts +1 -1
  34. package/src/gen/shims.ts +1 -3
  35. package/src/gen/video/sfu/event/events.ts +15 -15
  36. package/src/gen/video/sfu/models/models.ts +9 -5
  37. package/src/gen/video/sfu/signal_rpc/signal.client.ts +1 -1
  38. package/src/gen/video/sfu/signal_rpc/signal.ts +6 -6
  39. package/src/rtc/BasePeerConnection.ts +132 -46
  40. package/src/rtc/NegotiationError.ts +21 -0
  41. package/src/rtc/Publisher.ts +12 -9
  42. package/src/rtc/Subscriber.ts +8 -2
  43. package/src/rtc/__tests__/Publisher.test.ts +160 -17
  44. package/src/rtc/__tests__/Subscriber.test.ts +31 -14
  45. package/src/rtc/helpers/__tests__/sdp.stereo.test.ts +120 -0
  46. package/src/rtc/helpers/sdp.ts +43 -1
  47. package/src/stats/CallStateStatsReporter.ts +7 -3
  48. package/src/stats/types.ts +25 -0
  49. package/src/store/CallState.ts +11 -0
  50. package/src/types.ts +12 -0
package/CHANGELOG.md CHANGED
@@ -2,6 +2,31 @@
2
2
 
3
3
  This file was generated using [@jscutlery/semver](https://github.com/jscutlery/semver).
4
4
 
5
+ ## [1.25.0](https://github.com/GetStream/stream-video-js/compare/@stream-io/video-client-1.24.0...@stream-io/video-client-1.25.0) (2025-06-20)
6
+
7
+ - upgrade stream deps and improve API error code logging ([#1827](https://github.com/GetStream/stream-video-js/issues/1827)) ([8c30fef](https://github.com/GetStream/stream-video-js/commit/8c30fef80d78055f5adeae02f7347c1c3fe49b72)), closes [#1826](https://github.com/GetStream/stream-video-js/issues/1826)
8
+
9
+ ### Features
10
+
11
+ - stereo support ([#1833](https://github.com/GetStream/stream-video-js/issues/1833)) ([389b2f2](https://github.com/GetStream/stream-video-js/commit/389b2f2f0d7e4098b916a18b7c079d7029e35949))
12
+ - Support for Screen Share content hinting ([#1834](https://github.com/GetStream/stream-video-js/issues/1834)) ([a09ff78](https://github.com/GetStream/stream-video-js/commit/a09ff78e8c5a78ea435bec17dfd5b2b63ef5c78d))
13
+
14
+ ### Bug Fixes
15
+
16
+ - multiple FAST reconnect attempts and improved ICE restarts ([#1811](https://github.com/GetStream/stream-video-js/issues/1811)) ([f64c922](https://github.com/GetStream/stream-video-js/commit/f64c92292dcc6d216acb130ad51347449968f420))
17
+ - ringing call fixes and support for pronto ([#1823](https://github.com/GetStream/stream-video-js/issues/1823)) ([c0414f8](https://github.com/GetStream/stream-video-js/commit/c0414f88ec7dd42ad35991565f9d337ea7e0fc6d))
18
+
19
+ ## [1.24.0](https://github.com/GetStream/stream-video-js/compare/@stream-io/video-client-1.23.5...@stream-io/video-client-1.24.0) (2025-06-12)
20
+
21
+ ### Features
22
+
23
+ - moderation support ([#1822](https://github.com/GetStream/stream-video-js/issues/1822)) ([3948fae](https://github.com/GetStream/stream-video-js/commit/3948faeb2fa7ace8dd9c1df990f6e41e73fc0a26))
24
+
25
+ ### Bug Fixes
26
+
27
+ - configurable call stats reporting interval ([#1824](https://github.com/GetStream/stream-video-js/issues/1824)) ([74f72c0](https://github.com/GetStream/stream-video-js/commit/74f72c024d0cb34ae3e0fee4bd8f061fb51e4479))
28
+ - don't compute call stats report if no one subscribed to it ([#1825](https://github.com/GetStream/stream-video-js/issues/1825)) ([fb6a8c9](https://github.com/GetStream/stream-video-js/commit/fb6a8c9e19c80be313d73fadb68810e7f7c1f071))
29
+
5
30
  ## [1.23.5](https://github.com/GetStream/stream-video-js/compare/@stream-io/video-client-1.23.4...@stream-io/video-client-1.23.5) (2025-06-04)
6
31
 
7
32
  ### Bug Fixes