Calling: Improve the Picture-in-Picture popout

This commit is contained in:
Scott Nonnenberg
2025-04-08 10:11:36 +10:00
committed by GitHub
parent efffc4f569
commit a623ee44c4
18 changed files with 941 additions and 261 deletions

View File

@@ -122,8 +122,8 @@ export type PropsType = {
_: Array<GroupCallVideoRequest>,
speakerHeight: number
) => void;
setLocalAudio: (_: SetLocalAudioType) => void;
setLocalVideo: (_: SetLocalVideoType) => void;
setLocalAudio: SetLocalAudioType;
setLocalVideo: SetLocalVideoType;
setLocalPreviewContainer: (container: HTMLDivElement | null) => void;
setRendererCanvas: (_: SetRendererCanvasType) => void;
stickyControls: boolean;
@@ -489,10 +489,7 @@ export function CallScreen({
)}
>
{isSendingVideo ? (
<div
className="module-ongoing-call__local-preview-container"
ref={setLocalPreviewContainer}
/>
<div ref={setLocalPreviewContainer} />
) : (
<CallBackgroundBlur avatarUrl={me.avatarUrl}>
<div className="module-calling__spacer module-calling__camera-is-off-spacer" />