mirror of
https://github.com/blakeblackshear/frigate.git
synced 2026-02-13 14:45:25 +03:00
updated adjust_time to ignore_time_mismatch to make it clearer what this option does
This commit is contained in:
parent
019e41c971
commit
5ca7f372dc
@ -279,7 +279,7 @@ class OnvifConfig(FrigateBaseModel):
|
|||||||
default_factory=PtzAutotrackConfig,
|
default_factory=PtzAutotrackConfig,
|
||||||
title="PTZ auto tracking config.",
|
title="PTZ auto tracking config.",
|
||||||
)
|
)
|
||||||
adjust_time: Optional[bool] = Field(default=False, title="Onvif Adjust Time WSSE Authentication")
|
ignore_time_mismatch: bool = Field(default=False, title="Onvif Ignore Time Synchronization Mismatch Between Camera and Server")
|
||||||
|
|
||||||
|
|
||||||
class RetainModeEnum(str, Enum):
|
class RetainModeEnum(str, Enum):
|
||||||
|
|||||||
@ -54,7 +54,7 @@ class OnvifController:
|
|||||||
wsdl_dir=str(
|
wsdl_dir=str(
|
||||||
Path(find_spec("onvif").origin).parent / "wsdl"
|
Path(find_spec("onvif").origin).parent / "wsdl"
|
||||||
).replace("dist-packages/onvif", "site-packages"),
|
).replace("dist-packages/onvif", "site-packages"),
|
||||||
adjust_time=cam.onvif.adjust_time,
|
adjust_time=cam.onvif.ignore_time_mismatch,
|
||||||
),
|
),
|
||||||
"init": False,
|
"init": False,
|
||||||
"active": False,
|
"active": False,
|
||||||
|
|||||||
Loading…
Reference in New Issue
Block a user