fix: do not limit video width in live view

This commit is contained in:
Ramūnas Dronga 2023-11-12 16:57:11 +02:00 committed by Ramūnas Dronga
parent 563fdec211
commit c10cfc1a0b
No known key found for this signature in database

View File

@ -119,7 +119,7 @@ export default function Camera({ camera }) {
if ('MediaSource' in window || 'ManagedMediaSource' in window) {
player = (
<Fragment>
<div className="max-w-5xl">
<div>
<video-stream
mode="mse"
src={
@ -141,7 +141,7 @@ export default function Camera({ camera }) {
} else if (viewSource == 'webrtc' && restreamEnabled) {
player = (
<Fragment>
<div className="max-w-5xl">
<div>
<WebRtcPlayer camera={cameraConfig.live.stream_name} />
</div>
</Fragment>