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