Debug replay fixes (#23270)

* ensure motion masks from source camera are copied to replay

* stop polling debug_replay/status after live_ready

* use vod for constructing replay clips
This commit is contained in:
Josh Hawkins
2026-05-20 16:37:02 -05:00
committed by GitHub
parent a576ad5218
commit 5ef8b9b924
5 changed files with 77 additions and 28 deletions
+1 -1
View File
@@ -121,7 +121,7 @@ export default function Replay() {
mutate: refreshStatus,
isLoading,
} = useSWR<DebugReplayStatus>("debug_replay/status", {
refreshInterval: 1000,
refreshInterval: (latestData) => (latestData?.live_ready ? 0 : 1000),
});
const { payload: replayJob } =
useJobStatus<DebugReplayJobResults>("debug_replay");