@stream-io/video-react-sdk 1.11.5 → 1.11.7
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 +13 -0
- package/dist/index.cjs.js +3 -3
- package/dist/index.cjs.js.map +1 -1
- package/dist/index.es.js +3 -3
- package/dist/index.es.js.map +1 -1
- package/dist/src/core/components/CallLayout/LivestreamLayout.d.ts +1 -1
- package/package.json +3 -3
- package/src/core/components/CallLayout/LivestreamLayout.tsx +3 -3
package/dist/index.es.js
CHANGED
|
@@ -2383,13 +2383,13 @@ const LivestreamLayout = (props) => {
|
|
|
2383
2383
|
: undefined;
|
|
2384
2384
|
usePaginatedLayoutSortPreset(call);
|
|
2385
2385
|
const Overlay = (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 && (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 (jsxs("div", { className: "str-video__livestream-layout__wrapper", children: [jsx(ParticipantsAudio, { participants: remoteParticipants }), hasOngoingScreenShare && presenter && (jsx(ParticipantView, { className: "str-video__livestream-layout__screen-share", participant: presenter, ParticipantViewUI: Overlay, trackType: "screenShareTrack", muteAudio // audio is rendered by ParticipantsAudio
|
|
2392
|
+
return (jsxs("div", { className: "str-video__livestream-layout__wrapper", children: [!muted && jsx(ParticipantsAudio, { participants: remoteParticipants }), hasOngoingScreenShare && presenter && (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 && (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 (jsx(StreamCall, { call: call, children: jsx(LivestreamLayout, { ...layoutProps }) }));
|
|
2640
2640
|
};
|
|
2641
2641
|
|
|
2642
|
-
const [major, minor, patch] = ("1.11.
|
|
2642
|
+
const [major, minor, patch] = ("1.11.7").split('.');
|
|
2643
2643
|
setSdkInfo({
|
|
2644
2644
|
type: SfuModels.SdkType.REACT,
|
|
2645
2645
|
major,
|