From 746b733d8b7e726e979604fbc709c5afbfa546b3 Mon Sep 17 00:00:00 2001 From: Josh Hawkins <32435876+hawkeye217@users.noreply.github.com> Date: Fri, 13 Nov 2026 10:42:57 -0600 Subject: [PATCH] don't capture the switch frame on tiles that show the camera still --- web/src/components/player/LivePlayer.tsx | 11 +++++++---- 1 file changed, 7 insertions(+), 4 deletions(-) diff --git a/web/src/components/player/LivePlayer.tsx b/web/src/components/player/LivePlayer.tsx index d4d884987e..6f9c94583d 100644 --- a/web/src/components/player/LivePlayer.tsx +++ b/web/src/components/player/LivePlayer.tsx @@ -255,10 +255,13 @@ export default function LivePlayer({ setLiveReady(false); // the old video is still in the DOM until this render commits, so its - // last frame can cover the gap until the new stream plays - const frame = captureVideoFrame(overlayRef.current); - if (frame) { - setSwitchFrame(frame); + // last frame can cover the gap until the new stream plays. Tiles that + // show the camera still already cover it + if (!showStillWithoutActivity) { + const frame = captureVideoFrame(overlayRef.current); + if (frame) { + setSwitchFrame(frame); + } } } }