mirror of
https://github.com/blakeblackshear/frigate.git
synced 2024-11-21 19:07:46 +01:00
add range to birdseye quality config
This commit is contained in:
parent
98d8118fb2
commit
b24bb3eb18
@ -231,7 +231,12 @@ class BirdseyeConfig(BaseModel):
|
|||||||
enabled: bool = Field(default=True, title="Enable birdseye view.")
|
enabled: bool = Field(default=True, title="Enable birdseye view.")
|
||||||
width: int = Field(default=1280, title="Birdseye width.")
|
width: int = Field(default=1280, title="Birdseye width.")
|
||||||
height: int = Field(default=720, title="Birdseye height.")
|
height: int = Field(default=720, title="Birdseye height.")
|
||||||
quality: int = Field(default=8, title="Encoding quality.")
|
quality: int = Field(
|
||||||
|
default=8,
|
||||||
|
title="Encoding quality.",
|
||||||
|
ge=1,
|
||||||
|
le=31,
|
||||||
|
)
|
||||||
mode: BirdseyeModeEnum = Field(
|
mode: BirdseyeModeEnum = Field(
|
||||||
default=BirdseyeModeEnum.objects, title="Tracking mode."
|
default=BirdseyeModeEnum.objects, title="Tracking mode."
|
||||||
)
|
)
|
||||||
|
Loading…
Reference in New Issue
Block a user