mirror of
https://github.com/blakeblackshear/frigate.git
synced 2026-02-03 01:35: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') {
|
if (cameraConfig.live.source == 'restream') {
|
||||||
player = (
|
player = (
|
||||||
<Fragment>
|
<Fragment>
|
||||||
<div>
|
<div style={`max-height: ${cameraConfig.live.height}px; max-width: ${liveWidth}px`}>
|
||||||
<VideoPlayer
|
<VideoPlayer
|
||||||
options={{
|
options={{
|
||||||
preload: 'auto',
|
|
||||||
autoplay: true,
|
autoplay: true,
|
||||||
sources: [
|
sources: [
|
||||||
{
|
{
|
||||||
|
|||||||
Loading…
Reference in New Issue
Block a user