mirror of
https://github.com/blakeblackshear/frigate.git
synced 2026-02-07 11:45:24 +03:00
fix: do not limit video width in live view
This commit is contained in:
parent
563fdec211
commit
c10cfc1a0b
@ -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>
|
||||
|
||||
Loading…
Reference in New Issue
Block a user