Expand description
Network discovery: scan an IPv4 range / CIDR for cameras (open RTSP), then identify each by probing a list of vendor RTSP paths with one or more credential sets (via ffprobe). Vendor- agnostic: HikVision, Dahua, Axis, and generic/ONVIF paths are all tried. Optionally auto- registers verified devices (recording disabled by default).
Structs§
Functions§
- add_
device - Register a discovered device as a camera with recording DISABLED (operator enables it later). HikVision/Dahua use the vendor template (so the sub-stream is derivable); other vendors store the exact discovered RTSP URL. Returns the new camera id.
- discover
- parse_
targets - Expand a targets spec into a bounded list of IPv4 addresses.