@stream-io/video-react-sdk 0.3.46 → 0.4.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 (64) hide show
  1. package/CHANGELOG.md +22 -0
  2. package/README.md +3 -2
  3. package/dist/index.cjs.js +328 -885
  4. package/dist/index.cjs.js.map +1 -1
  5. package/dist/index.d.ts +1 -1
  6. package/dist/index.es.js +329 -870
  7. package/dist/index.es.js.map +1 -1
  8. package/dist/src/components/CallControls/ScreenShareButton.d.ts +1 -1
  9. package/dist/src/components/Notification/SpeakingWhileMutedNotification.d.ts +3 -0
  10. package/dist/src/components/{Video → VideoPreview}/VideoPreview.d.ts +1 -9
  11. package/dist/src/components/index.d.ts +1 -1
  12. package/dist/src/core/components/ParticipantView/ParticipantView.d.ts +3 -9
  13. package/dist/src/core/components/ParticipantView/ParticipantViewContext.d.ts +9 -0
  14. package/dist/src/core/components/ParticipantView/index.d.ts +1 -0
  15. package/dist/src/core/components/StreamCall/StreamCall.d.ts +2 -11
  16. package/dist/src/core/hooks/index.d.ts +0 -2
  17. package/dist/src/core/hooks/useDevices.d.ts +0 -99
  18. package/dist/src/core/index.d.ts +0 -1
  19. package/dist/src/hooks/index.d.ts +1 -3
  20. package/dist/src/hooks/usePersistedDevicePreferences.d.ts +13 -0
  21. package/dist/src/translations/index.d.ts +2 -0
  22. package/index.ts +2 -2
  23. package/package.json +3 -3
  24. package/src/components/CallControls/CallControls.tsx +6 -8
  25. package/src/components/CallControls/ScreenShareButton.tsx +17 -13
  26. package/src/components/CallControls/ToggleAudioButton.tsx +21 -24
  27. package/src/components/CallControls/ToggleAudioOutputButton.tsx +1 -1
  28. package/src/components/CallControls/ToggleVideoButton.tsx +21 -22
  29. package/src/components/CallParticipantsList/CallParticipantsList.tsx +1 -1
  30. package/src/components/DeviceSettings/DeviceSelectorAudio.tsx +20 -26
  31. package/src/components/DeviceSettings/DeviceSelectorVideo.tsx +9 -8
  32. package/src/components/Icon/Icon.tsx +1 -1
  33. package/src/components/Notification/SpeakingWhileMutedNotification.tsx +5 -49
  34. package/src/components/VideoPreview/VideoPreview.tsx +67 -0
  35. package/src/components/index.ts +1 -1
  36. package/src/core/components/CallLayout/PaginatedGridLayout.tsx +2 -5
  37. package/src/core/components/ParticipantView/DefaultParticipantViewUI.tsx +7 -6
  38. package/src/core/components/ParticipantView/ParticipantView.tsx +2 -19
  39. package/src/core/components/ParticipantView/ParticipantViewContext.tsx +17 -0
  40. package/src/core/components/ParticipantView/index.ts +1 -0
  41. package/src/core/components/StreamCall/StreamCall.tsx +2 -28
  42. package/src/core/hooks/index.ts +0 -2
  43. package/src/core/hooks/useDevices.ts +0 -195
  44. package/src/core/index.ts +0 -1
  45. package/src/hooks/index.ts +1 -3
  46. package/src/hooks/usePersistedDevicePreferences.ts +118 -0
  47. package/src/translations/en.json +3 -0
  48. package/dist/src/core/contexts/MediaDevicesContext.d.ts +0 -180
  49. package/dist/src/core/contexts/index.d.ts +0 -1
  50. package/dist/src/core/hooks/useAudioPublisher.d.ts +0 -12
  51. package/dist/src/core/hooks/useVideoPublisher.d.ts +0 -12
  52. package/dist/src/hooks/useToggleAudioMuteState.d.ts +0 -4
  53. package/dist/src/hooks/useToggleScreenShare.d.ts +0 -5
  54. package/dist/src/hooks/useToggleVideoMuteState.d.ts +0 -4
  55. package/src/components/Video/VideoPreview.tsx +0 -152
  56. package/src/core/contexts/MediaDevicesContext.tsx +0 -416
  57. package/src/core/contexts/index.ts +0 -1
  58. package/src/core/hooks/useAudioPublisher.ts +0 -146
  59. package/src/core/hooks/useVideoPublisher.ts +0 -177
  60. package/src/hooks/useToggleAudioMuteState.ts +0 -34
  61. package/src/hooks/useToggleScreenShare.ts +0 -43
  62. package/src/hooks/useToggleVideoMuteState.ts +0 -34
  63. /package/dist/src/components/{Video → VideoPreview}/index.d.ts +0 -0
  64. /package/src/components/{Video → VideoPreview}/index.ts +0 -0
package/CHANGELOG.md CHANGED
@@ -2,6 +2,28 @@
2
2
 
3
3
  This file was generated using [@jscutlery/semver](https://github.com/jscutlery/semver).
4
4
 
5
+ ## [0.4.0](https://github.com/GetStream/stream-video-js/compare/@stream-io/video-react-sdk-0.3.47...@stream-io/video-react-sdk-0.4.0) (2023-10-27)
6
+
7
+ ### Dependency Updates
8
+
9
+ * `@stream-io/video-client` updated to version `0.4.0`
10
+ * `@stream-io/video-react-bindings` updated to version `0.3.0`
11
+
12
+ ### ⚠ BREAKING CHANGES
13
+
14
+ * **react-sdk:** Universal Device Management API (#1127)
15
+
16
+ ### Features
17
+
18
+ * **react-sdk:** Universal Device Management API ([#1127](https://github.com/GetStream/stream-video-js/issues/1127)) ([aeb3561](https://github.com/GetStream/stream-video-js/commit/aeb35612745f45254b536281c5f81d1bcac2bab5))
19
+
20
+ ### [0.3.47](https://github.com/GetStream/stream-video-js/compare/@stream-io/video-react-sdk-0.3.46...@stream-io/video-react-sdk-0.3.47) (2023-10-26)
21
+
22
+
23
+ ### Bug Fixes
24
+
25
+ * Localize "Screen Share" caption ([#1164](https://github.com/GetStream/stream-video-js/issues/1164)) ([0a9ed96](https://github.com/GetStream/stream-video-js/commit/0a9ed960ee5ef8409b61dc5d747912b17a521160))
26
+
5
27
  ### [0.3.46](https://github.com/GetStream/stream-video-js/compare/@stream-io/video-react-sdk-0.3.45...@stream-io/video-react-sdk-0.3.46) (2023-10-25)
6
28
 
7
29
  ### Dependency Updates
package/README.md CHANGED
@@ -61,7 +61,7 @@ Here are some of the features we support:
61
61
  - [x] Screenshare Audio
62
62
  - [x] Screen-sharing bitrate and FPS control
63
63
  - [ ] Fast-reconnects
64
- - [ ] New Device Management API
64
+ - [x] New Device Management API
65
65
  - [x] SFU retries
66
66
  - [x] Call Thumbnails
67
67
  - [ ] Query call session endpoint
@@ -73,7 +73,8 @@ Here are some of the features we support:
73
73
  - [ ] Typescript generics enhancements
74
74
  - [ ] Hardware-accelerated video encoding on supported platforms
75
75
  - [ ] Performance and bundle-size optimizations
76
- - [ ] Dynascale 2.0 (codecs, f resolution switches, resolution webrtc handling)
76
+ - [x] Dynascale 2.0 (f resolution switches, resolution WebRTC handling)
77
+ - [ ] Dynascale 2.0 (codec switching)
77
78
  - [ ] Call analytics / stats
78
79
  - [ ] Logging 2.0
79
80
  - [ ] E2E testing platform