mirror of
https://github.com/blakeblackshear/frigate.git
synced 2026-02-08 12:15:25 +03:00
Fix birdseye options
This commit is contained in:
parent
89093b4190
commit
cb73e09f53
@ -37,8 +37,15 @@ function Live() {
|
|||||||
);
|
);
|
||||||
}, [config]);
|
}, [config]);
|
||||||
const restreamEnabled = useMemo(() => {
|
const restreamEnabled = useMemo(() => {
|
||||||
|
if (!config) {
|
||||||
|
return false;
|
||||||
|
}
|
||||||
|
|
||||||
|
if (camera == "birdseye") {
|
||||||
|
return config.birdseye.restream;
|
||||||
|
}
|
||||||
|
|
||||||
return (
|
return (
|
||||||
config &&
|
|
||||||
cameraConfig &&
|
cameraConfig &&
|
||||||
Object.keys(config.go2rtc.streams || {}).includes(
|
Object.keys(config.go2rtc.streams || {}).includes(
|
||||||
cameraConfig.live.stream_name
|
cameraConfig.live.stream_name
|
||||||
|
|||||||
Loading…
Reference in New Issue
Block a user