mirror of
https://github.com/blakeblackshear/frigate.git
synced 2026-02-13 06:35:24 +03:00
Use camera name instead of stream_name for jsmpeg players
This commit is contained in:
parent
f9e1ad253f
commit
2144b5e658
@ -171,7 +171,7 @@ export default function LivePlayer({
|
|||||||
player = (
|
player = (
|
||||||
<JSMpegPlayer
|
<JSMpegPlayer
|
||||||
className="flex justify-center overflow-hidden rounded-lg md:rounded-2xl"
|
className="flex justify-center overflow-hidden rounded-lg md:rounded-2xl"
|
||||||
camera={cameraConfig.live.stream_name}
|
camera={cameraConfig.name}
|
||||||
width={cameraConfig.detect.width}
|
width={cameraConfig.detect.width}
|
||||||
height={cameraConfig.detect.height}
|
height={cameraConfig.detect.height}
|
||||||
playbackEnabled={cameraActive || !showStillWithoutActivity}
|
playbackEnabled={cameraActive || !showStillWithoutActivity}
|
||||||
|
|||||||
Loading…
Reference in New Issue
Block a user