Skip to main content

Module camera_config

Module camera_config 

Source
Expand description

Camera configuration (HikVision ISAPI) service.

Wire/response types (types) and the hand-rolled RFC 2617 HTTP Digest auth (digest) the ISAPI calls require, the vendor-agnostic CameraConfigProvider trait, and its HikVision ISAPI implementation (hikvision). Construct a provider for a camera with for_camera.

Modules§

digest
HTTP Digest access authentication (RFC 2617) — hand-rolled for HikVision ISAPI.
hikvision
HikVision ISAPI implementation of CameraConfigProvider.
types
Wire/response types for the HikVision ISAPI camera-configuration service.

Traits§

CameraConfigProvider
A vendor-agnostic surface for reading and writing a camera’s on-device configuration. The kernel owns the persistence/audit; an implementor only talks the device’s native protocol (HikVision ISAPI today). All methods are best-effort against a live device and surface AppError on transport/protocol failure.

Functions§

for_camera
Build a CameraConfigProvider for cam, dispatching on its vendor. Only HikVision (ISAPI) is supported today; ONVIF-generic configuration is a future implementation.