@stream-io/video-react-sdk 0.6.16 → 0.6.18

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 CHANGED
@@ -2,6 +2,23 @@
2
2
 
3
3
  This file was generated using [@jscutlery/semver](https://github.com/jscutlery/semver).
4
4
 
5
+ ### [0.6.18](https://github.com/GetStream/stream-video-js/compare/@stream-io/video-react-sdk-0.6.17...@stream-io/video-react-sdk-0.6.18) (2024-05-03)
6
+
7
+ ### Dependency Updates
8
+
9
+ * `@stream-io/video-client` updated to version `0.7.12`
10
+ * `@stream-io/video-react-bindings` updated to version `0.4.23`
11
+ ### [0.6.17](https://github.com/GetStream/stream-video-js/compare/@stream-io/video-react-sdk-0.6.16...@stream-io/video-react-sdk-0.6.17) (2024-05-03)
12
+
13
+ ### Dependency Updates
14
+
15
+ * `@stream-io/video-client` updated to version `0.7.11`
16
+ * `@stream-io/video-react-bindings` updated to version `0.4.22`
17
+
18
+ ### Bug Fixes
19
+
20
+ * **devices:** API to disable speaking while muted notifications ([#1335](https://github.com/GetStream/stream-video-js/issues/1335)) ([cdff0e0](https://github.com/GetStream/stream-video-js/commit/cdff0e036bf4afca763e4f7a1563c23e806be190)), closes [#1329](https://github.com/GetStream/stream-video-js/issues/1329)
21
+
5
22
  ### [0.6.16](https://github.com/GetStream/stream-video-js/compare/@stream-io/video-react-sdk-0.6.15...@stream-io/video-react-sdk-0.6.16) (2024-05-02)
6
23
 
7
24
 
package/dist/index.cjs.js CHANGED
@@ -307,6 +307,8 @@ const useApplyDevicePreferences = (key) => {
307
307
  react.useEffect(() => {
308
308
  if (!call || !settings)
309
309
  return;
310
+ if (call.state.callingState === videoClient.CallingState.LEFT)
311
+ return;
310
312
  const apply = async () => {
311
313
  const initMic = async (setting) => {
312
314
  await call.microphone.select(setting.selectedDeviceId);
@@ -2508,7 +2510,7 @@ const VerticalScrollButtons = ({ scrollWrapper, }) => {
2508
2510
  };
2509
2511
  const hasScreenShare = (p) => !!p?.publishedTracks.includes(videoClient.SfuModels.TrackType.SCREEN_SHARE);
2510
2512
 
2511
- const [major, minor, patch] = ("0.6.16" ).split('.');
2513
+ const [major, minor, patch] = ("0.6.18" ).split('.');
2512
2514
  videoClient.setSdkInfo({
2513
2515
  type: videoClient.SfuModels.SdkType.REACT,
2514
2516
  major,