mirror of
https://github.com/blakeblackshear/frigate.git
synced 2026-02-12 22:25:24 +03:00
adds adjust_time which allows users to fix an issue with onvif authentication where time is not syncrhonized
This commit is contained in:
parent
0ce596ec8f
commit
019e41c971
@ -279,6 +279,7 @@ class OnvifConfig(FrigateBaseModel):
|
||||
default_factory=PtzAutotrackConfig,
|
||||
title="PTZ auto tracking config.",
|
||||
)
|
||||
adjust_time: Optional[bool] = Field(default=False, title="Onvif Adjust Time WSSE Authentication")
|
||||
|
||||
|
||||
class RetainModeEnum(str, Enum):
|
||||
|
||||
@ -54,6 +54,7 @@ class OnvifController:
|
||||
wsdl_dir=str(
|
||||
Path(find_spec("onvif").origin).parent / "wsdl"
|
||||
).replace("dist-packages/onvif", "site-packages"),
|
||||
adjust_time=cam.onvif.adjust_time,
|
||||
),
|
||||
"init": False,
|
||||
"active": False,
|
||||
|
||||
Loading…
Reference in New Issue
Block a user