set max width/height for live view

This commit is contained in:
Blake Blackshear
2021-10-17 07:48:56 -05:00
parent 2e494477a6
commit ae24cf3bb2
3 changed files with 4 additions and 4 deletions
+1 -1
View File
@@ -87,7 +87,7 @@ export default function Camera({ camera }) {
player = (
<Fragment>
<div>
<JSMpegPlayer camera={camera} />
<JSMpegPlayer camera={camera} width={cameraConfig.detect.width} height={cameraConfig.detect.height} />
</div>
</Fragment>
);