@stream-io/video-client 1.61.1 → 1.62.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 (62) hide show
  1. package/CHANGELOG.md +21 -0
  2. package/dist/index.browser.es.js +525 -178
  3. package/dist/index.browser.es.js.map +1 -1
  4. package/dist/index.cjs.js +525 -178
  5. package/dist/index.cjs.js.map +1 -1
  6. package/dist/index.es.js +525 -178
  7. package/dist/index.es.js.map +1 -1
  8. package/dist/src/Call.d.ts +21 -1
  9. package/dist/src/coordinator/connection/types.d.ts +1 -1
  10. package/dist/src/devices/DeviceManager.d.ts +6 -0
  11. package/dist/src/devices/DeviceManagerState.d.ts +17 -0
  12. package/dist/src/devices/MicrophoneManager.d.ts +11 -0
  13. package/dist/src/devices/devices.d.ts +5 -0
  14. package/dist/src/gen/video/sfu/signal_rpc/signal.d.ts +0 -27
  15. package/dist/src/helpers/AudioBindingsWatchdog.d.ts +7 -2
  16. package/dist/src/helpers/DynascaleManager.d.ts +15 -0
  17. package/dist/src/helpers/MediaPlaybackWatchdog.d.ts +18 -0
  18. package/dist/src/helpers/mediaInterruptions.d.ts +14 -0
  19. package/dist/src/reporting/ClientEventReporter.d.ts +1 -1
  20. package/dist/src/ringing/reconcileRingState.d.ts +8 -7
  21. package/dist/src/rtc/BasePeerConnection.d.ts +13 -1
  22. package/dist/src/rtc/types.d.ts +7 -0
  23. package/dist/src/stats/SfuStatsReporter.d.ts +1 -13
  24. package/dist/src/stats/rtc/StatsTracer.d.ts +6 -6
  25. package/dist/src/stats/rtc/types.d.ts +0 -11
  26. package/package.json +1 -1
  27. package/src/Call.ts +110 -9
  28. package/src/StreamVideoClient.ts +8 -0
  29. package/src/__tests__/StreamVideoClient.rewatch.test.ts +136 -0
  30. package/src/coordinator/connection/types.ts +1 -1
  31. package/src/devices/DeviceManager.ts +26 -1
  32. package/src/devices/DeviceManagerState.ts +24 -0
  33. package/src/devices/MicrophoneManager.ts +79 -17
  34. package/src/devices/SpeakerManager.ts +1 -1
  35. package/src/devices/__tests__/CameraManager.test.ts +50 -1
  36. package/src/devices/__tests__/DeviceManager.test.ts +29 -0
  37. package/src/devices/__tests__/MicrophoneManager.test.ts +235 -0
  38. package/src/devices/__tests__/SpeakerManager.test.ts +27 -0
  39. package/src/devices/__tests__/devices.test.ts +10 -14
  40. package/src/devices/__tests__/mediaStreamTestHelpers.ts +11 -6
  41. package/src/devices/__tests__/mocks.ts +1 -0
  42. package/src/devices/devices.ts +7 -1
  43. package/src/gen/video/sfu/signal_rpc/signal.ts +0 -53
  44. package/src/helpers/AudioBindingsWatchdog.ts +91 -35
  45. package/src/helpers/DynascaleManager.ts +86 -11
  46. package/src/helpers/MediaPlaybackWatchdog.ts +55 -6
  47. package/src/helpers/__tests__/DynascaleManager.test.ts +253 -13
  48. package/src/helpers/__tests__/MediaPlaybackWatchdog.test.ts +140 -0
  49. package/src/helpers/__tests__/mediaInterruptions.test.ts +131 -0
  50. package/src/helpers/mediaInterruptions.ts +37 -0
  51. package/src/reporting/ClientEventReporter.ts +1 -1
  52. package/src/ringing/RingStatePoller.ts +1 -1
  53. package/src/ringing/__tests__/RingStatePoller.test.ts +1 -1
  54. package/src/ringing/__tests__/reconcileRingState.test.ts +33 -0
  55. package/src/ringing/reconcileRingState.ts +18 -10
  56. package/src/rtc/BasePeerConnection.ts +47 -9
  57. package/src/rtc/__tests__/Call.reconnect.test.ts +474 -0
  58. package/src/rtc/types.ts +8 -0
  59. package/src/stats/SfuStatsReporter.ts +19 -93
  60. package/src/stats/__tests__/SfuStatsReporter.test.ts +2 -18
  61. package/src/stats/rtc/StatsTracer.ts +6 -6
  62. package/src/stats/rtc/types.ts +0 -13
package/CHANGELOG.md CHANGED
@@ -2,6 +2,27 @@
2
2
 
3
3
  This file was generated using [@jscutlery/semver](https://github.com/jscutlery/semver).
4
4
 
5
+ ## [1.62.0](https://github.com/GetStream/stream-video-js/compare/@stream-io/video-client-1.61.2...@stream-io/video-client-1.62.0) (2026-10-16)
6
+
7
+ ### Features
8
+
9
+ - **react-sdk:** Expose the device error in camera/microphone state ([#2511](https://github.com/GetStream/stream-video-js/issues/2511)) ([f6822e4](https://github.com/GetStream/stream-video-js/commit/f6822e4c92cb22607ff0dd56606159e83db34fa2))
10
+
11
+ ### Bug Fixes
12
+
13
+ - **client:** don't call setSinkId on Safari and other WebKit browsers ([#2505](https://github.com/GetStream/stream-video-js/issues/2505)) ([1b2cd97](https://github.com/GetStream/stream-video-js/commit/1b2cd974c3eb1c67266122a3966e07254e0ff0e1))
14
+ - **client:** give up on devices that gather no ICE candidates ([#2509](https://github.com/GetStream/stream-video-js/issues/2509)) ([85633cd](https://github.com/GetStream/stream-video-js/commit/85633cd1a2d717ed67cb7dafb2874ad7790f6c45)), closes [GetStream/video-sfu#1728](https://github.com/GetStream/video-sfu/issues/1728)
15
+ - **client:** keep the mic captured across mute for speaking-while-muted ([#2507](https://github.com/GetStream/stream-video-js/issues/2507)) ([07996da](https://github.com/GetStream/stream-video-js/commit/07996daaa59b13da07d21b2be4cb615de34a846e))
16
+
17
+ ## [1.61.2](https://github.com/GetStream/stream-video-js/compare/@stream-io/video-client-1.61.1...@stream-io/video-client-1.61.2) (2026-10-09)
18
+
19
+ ### Bug Fixes
20
+
21
+ - **client:** reconcile ringing calls after a WS rewatch ([#2497](https://github.com/GetStream/stream-video-js/issues/2497)) ([91b8f36](https://github.com/GetStream/stream-video-js/commit/91b8f3633f2261673a287d3c9ef73fc1e8aefb39)), closes [#2493](https://github.com/GetStream/stream-video-js/issues/2493) [#2454](https://github.com/GetStream/stream-video-js/issues/2454)
22
+ - **client:** recover remote playback after media interruptions ([#2500](https://github.com/GetStream/stream-video-js/issues/2500)) ([95232f0](https://github.com/GetStream/stream-video-js/commit/95232f029b14a8fc74394dbe546a9079dd825bfe))
23
+ - **client:** remove deprecated SendStats fields ([#2488](https://github.com/GetStream/stream-video-js/issues/2488)) ([aefa694](https://github.com/GetStream/stream-video-js/commit/aefa694467bf255888085972b857524144ecc294))
24
+ - **client:** start ring state polling after 9s instead of 15s ([#2492](https://github.com/GetStream/stream-video-js/issues/2492)) ([8d3a89f](https://github.com/GetStream/stream-video-js/commit/8d3a89fbcaa7c447356b2e1a48b4d9c7a1ef44a1))
25
+
5
26
  ## [1.61.1](https://github.com/GetStream/stream-video-js/compare/@stream-io/video-client-1.61.0...@stream-io/video-client-1.61.1) (2026-10-01)
6
27
 
7
28
  ### Bug Fixes