From 2aaba2e0b3e3f8a4f3a536669c3b6838905a8cd4 Mon Sep 17 00:00:00 2001 From: Matt Davis Date: Fri, 20 Nov 2026 02:30:47 -0500 Subject: [PATCH 1/2] Apply suggested fix to web/js/components/preact/HLSVideoCell.tsx from Copilot Autofix Co-authored-by: Copilot Autofix powered by AI <223894421+github-code-quality[bot]@users.noreply.github.com> --- web/js/components/preact/HLSVideoCell.tsx | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/web/js/components/preact/HLSVideoCell.tsx b/web/js/components/preact/HLSVideoCell.tsx index 652367b2c..54315b6f1 100644 --- a/web/js/components/preact/HLSVideoCell.tsx +++ b/web/js/components/preact/HLSVideoCell.tsx @@ -110,7 +110,7 @@ export function HLSVideoCell({ // preserving runtime fallback decisions within the same stream instance. useEffect(() => { setHlsMode(stream && stream.go2rtc_hls_available ? 'go2rtc' : 'native'); - }, [streamId, stream?.go2rtc_hls_available]); + }, [streamId, stream?.name, stream?.go2rtc_hls_available]); // PTZ controls state const [showPTZControls, setShowPTZControls] = useState(false); From 707b6263cda19a6bc62d53ecb0b09a5a2be5460a Mon Sep 17 00:00:00 2001 From: Matt Davis Date: Fri, 20 Nov 2026 02:30:47 -0500 Subject: [PATCH 2/2] Apply suggested fix to web/js/components/preact/HLSVideoCell.tsx from Copilot Autofix Co-authored-by: Copilot Autofix powered by AI <223894421+github-code-quality[bot]@users.noreply.github.com> --- web/js/components/preact/HLSVideoCell.tsx | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/web/js/components/preact/HLSVideoCell.tsx b/web/js/components/preact/HLSVideoCell.tsx index 54315b6f1..35ecfd83b 100644 --- a/web/js/components/preact/HLSVideoCell.tsx +++ b/web/js/components/preact/HLSVideoCell.tsx @@ -96,7 +96,7 @@ export function HLSVideoCell({ useEffect(() => { setPrivacyActive(!!stream.privacy_mode); - }, [streamId, stream.privacy_mode]); + }, [streamId, stream.name, stream.privacy_mode]); // HLS source state: 'go2rtc' (go2rtc's dynamic HLS), 'native' (lightNVR FFmpeg-based HLS), or 'failed' // Default to native lightNVR HLS (reliable, always running when streaming enabled)