Use camera name instead of stream_name for jsmpeg players

This commit is contained in:
Josh Hawkins 2024-06-30 11:33:29 -05:00
parent f9e1ad253f
commit 2144b5e658

View File

@ -171,7 +171,7 @@ export default function LivePlayer({
player = (
<JSMpegPlayer
className="flex justify-center overflow-hidden rounded-lg md:rounded-2xl"
camera={cameraConfig.live.stream_name}
camera={cameraConfig.name}
width={cameraConfig.detect.width}
height={cameraConfig.detect.height}
playbackEnabled={cameraActive || !showStillWithoutActivity}