Skip to content

NVR with realtime local object detection for IP cameras

Live view not loading for MSE/JSMpeg if overriding live stream (#11141)

lecceleccec2c611329901
diff --git a/web/src/components/player/LivePlayer.tsx b/web/src/components/player/LivePlayer.tsx
index a93eb0e18b..16a66a67cf 100644
--- a/web/src/components/player/LivePlayer.tsx
+++ b/web/src/components/player/LivePlayer.tsx
@@ -110,7 +110,7 @@ export default function LivePlayer({
player = (
<MSEPlayer
className={`rounded-lg md:rounded-2xl size-full ${liveReady ? "" : "hidden"}`}
- camera={cameraConfig.name}
+ camera={cameraConfig.live.stream_name}
playbackEnabled={cameraActive}
audioEnabled={playAudio}
onPlaying={() => setLiveReady(true)}
@@ -129,7 +129,7 @@ export default function LivePlayer({
player = (
<JSMpegPlayer
className="size-full flex justify-center rounded-lg md:rounded-2xl overflow-hidden"
- camera={cameraConfig.name}
+ camera={cameraConfig.live.stream_name}
width={cameraConfig.detect.width}
height={cameraConfig.detect.height}
/>