@stream-io/video-react-sdk 1.11.5 → 1.11.6

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,13 @@
2
2
 
3
3
  This file was generated using [@jscutlery/semver](https://github.com/jscutlery/semver).
4
4
 
5
+ ## [1.11.6](https://github.com/GetStream/stream-video-js/compare/@stream-io/video-react-sdk-1.11.5...@stream-io/video-react-sdk-1.11.6) (2025-02-07)
6
+
7
+
8
+ ### Bug Fixes
9
+
10
+ * handle LivestreamLayout muted prop ([#1674](https://github.com/GetStream/stream-video-js/issues/1674)) ([f739b56](https://github.com/GetStream/stream-video-js/commit/f739b56980a18f1fb8b9c36fbcf284996a535706))
11
+
5
12
  ## [1.11.5](https://github.com/GetStream/stream-video-js/compare/@stream-io/video-react-sdk-1.11.4...@stream-io/video-react-sdk-1.11.5) (2025-02-06)
6
13
 
7
14
  ### Dependency Updates
package/dist/index.cjs.js CHANGED
@@ -2383,13 +2383,13 @@ const LivestreamLayout = (props) => {
2383
2383
  : undefined;
2384
2384
  usePaginatedLayoutSortPreset(call);
2385
2385
  const Overlay = (jsxRuntime.jsx(ParticipantOverlay, { showParticipantCount: props.showParticipantCount, showDuration: props.showDuration, showLiveBadge: props.showLiveBadge, showSpeakerName: props.showSpeakerName }));
2386
- const { floatingParticipantProps } = props;
2386
+ const { floatingParticipantProps, muted } = props;
2387
2387
  const FloatingParticipantOverlay = hasOngoingScreenShare && (jsxRuntime.jsx(ParticipantOverlay
2388
2388
  // these elements aren't needed for the video feed
2389
2389
  , {
2390
2390
  // these elements aren't needed for the video feed
2391
2391
  showParticipantCount: floatingParticipantProps?.showParticipantCount ?? false, showDuration: floatingParticipantProps?.showDuration ?? false, showLiveBadge: floatingParticipantProps?.showLiveBadge ?? false, showSpeakerName: floatingParticipantProps?.showSpeakerName ?? true }));
2392
- return (jsxRuntime.jsxs("div", { className: "str-video__livestream-layout__wrapper", children: [jsxRuntime.jsx(ParticipantsAudio, { participants: remoteParticipants }), hasOngoingScreenShare && presenter && (jsxRuntime.jsx(ParticipantView, { className: "str-video__livestream-layout__screen-share", participant: presenter, ParticipantViewUI: Overlay, trackType: "screenShareTrack", muteAudio // audio is rendered by ParticipantsAudio
2392
+ return (jsxRuntime.jsxs("div", { className: "str-video__livestream-layout__wrapper", children: [!muted && jsxRuntime.jsx(ParticipantsAudio, { participants: remoteParticipants }), hasOngoingScreenShare && presenter && (jsxRuntime.jsx(ParticipantView, { className: "str-video__livestream-layout__screen-share", participant: presenter, ParticipantViewUI: Overlay, trackType: "screenShareTrack", muteAudio // audio is rendered by ParticipantsAudio
2393
2393
  : true })), currentSpeaker && (jsxRuntime.jsx(ParticipantView, { className: clsx(hasOngoingScreenShare &&
2394
2394
  clsx('str-video__livestream-layout__floating-participant', `str-video__livestream-layout__floating-participant--${floatingParticipantProps?.position ?? 'top-right'}`)), participant: currentSpeaker, ParticipantViewUI: FloatingParticipantOverlay || Overlay, mirror: props.mirrorLocalParticipantVideo !== false ? undefined : false, muteAudio // audio is rendered by ParticipantsAudio
2395
2395
  : true }))] }));
@@ -2639,7 +2639,7 @@ const LivestreamPlayer = (props) => {
2639
2639
  return (jsxRuntime.jsx(StreamCall, { call: call, children: jsxRuntime.jsx(LivestreamLayout, { ...layoutProps }) }));
2640
2640
  };
2641
2641
 
2642
- const [major, minor, patch] = ("1.11.5").split('.');
2642
+ const [major, minor, patch] = ("1.11.6").split('.');
2643
2643
  videoClient.setSdkInfo({
2644
2644
  type: videoClient.SfuModels.SdkType.REACT,
2645
2645
  major,