mirror of
https://github.com/blakeblackshear/frigate.git
synced 2026-03-17 13:48:21 +03:00
26 lines
610 B
TypeScript
26 lines
610 B
TypeScript
|
|
// ONVIF Section Component
|
||
|
|
// Camera-level ONVIF and autotracking settings
|
||
|
|
|
||
|
|
import { createConfigSection } from "./BaseSection";
|
||
|
|
|
||
|
|
export const OnvifSection = createConfigSection({
|
||
|
|
sectionPath: "onvif",
|
||
|
|
i18nNamespace: "config/onvif",
|
||
|
|
defaultConfig: {
|
||
|
|
fieldOrder: [
|
||
|
|
"host",
|
||
|
|
"port",
|
||
|
|
"user",
|
||
|
|
"password",
|
||
|
|
"tls_insecure",
|
||
|
|
"autotracking",
|
||
|
|
"ignore_time_mismatch",
|
||
|
|
],
|
||
|
|
hiddenFields: ["autotracking.enabled_in_config"],
|
||
|
|
advancedFields: ["tls_insecure", "autotracking", "ignore_time_mismatch"],
|
||
|
|
overrideFields: [],
|
||
|
|
},
|
||
|
|
});
|
||
|
|
|
||
|
|
export default OnvifSection;
|