forked from Github/frigate
Add jsmpeg support to new webUI and make birdseye default for live page (#8995)
* Add jsmpeg and make birdseye default for live view * Fix jsmpeg * Fix
This commit is contained in:
committed by
Blake Blackshear
parent
1a27c7db29
commit
2236ae5d3b
@@ -9,6 +9,7 @@ import { Card, CardContent, CardHeader, CardTitle } from "../ui/card";
|
||||
import { Switch } from "../ui/switch";
|
||||
import { Label } from "../ui/label";
|
||||
import { usePersistence } from "@/hooks/use-persistence";
|
||||
import JSMpegPlayer from "./JSMpegPlayer";
|
||||
|
||||
const emptyObject = Object.freeze({});
|
||||
|
||||
@@ -66,7 +67,11 @@ export default function LivePlayer({
|
||||
} else if (liveMode == "jsmpeg") {
|
||||
return (
|
||||
<div className={`max-w-[${cameraConfig.detect.width}px]`}>
|
||||
Not Yet Implemented
|
||||
<JSMpegPlayer
|
||||
camera={cameraConfig.name}
|
||||
width={cameraConfig.detect.width}
|
||||
height={cameraConfig.detect.height}
|
||||
/>
|
||||
</div>
|
||||
);
|
||||
} else if (liveMode == "debug") {
|
||||
|
||||
Reference in New Issue
Block a user