mirror of
https://github.com/blakeblackshear/frigate.git
synced 2026-02-02 17:25:22 +03:00
Make view rspect live size config
This commit is contained in:
parent
6c95e78366
commit
8946f09eec
@ -97,10 +97,9 @@ export default function Camera({ camera }) {
|
||||
if (cameraConfig.live.source == 'restream') {
|
||||
player = (
|
||||
<Fragment>
|
||||
<div>
|
||||
<div style={`max-height: ${cameraConfig.live.height}px; max-width: ${liveWidth}px`}>
|
||||
<VideoPlayer
|
||||
options={{
|
||||
preload: 'auto',
|
||||
autoplay: true,
|
||||
sources: [
|
||||
{
|
||||
|
||||
Loading…
Reference in New Issue
Block a user