import WebRtcPlayer from "./WebRTCPlayer"; import { BirdseyeConfig } from "@/types/frigateConfig"; import ActivityIndicator from "../ui/activity-indicator"; import JSMpegPlayer from "./JSMpegPlayer"; type LivePlayerProps = { birdseyeConfig: BirdseyeConfig; liveMode: string; }; export default function BirdseyeLivePlayer({ birdseyeConfig, liveMode, }: LivePlayerProps) { if (liveMode == "webrtc") { return (
); } else if (liveMode == "mse") { return
Not yet implemented
; } else if (liveMode == "jsmpeg") { return (
); } else { ; } }