mirror of
https://github.com/blakeblackshear/frigate.git
synced 2026-08-02 17:12:16 +03:00
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:
@@ -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");
|
||||
|
||||
Reference in New Issue
Block a user