Skip to main content

about

unifi-cam-proxy extends UniFi Protect to work with non-UniFi cameras, enabling enhanced compatibility and advanced features not natively supported by Ubiquiti, when using ONVIF.

Unlike the basic ONVIF support recently introduced by UniFi Protect, this tool offers a more flexible and powerful solution. Key features include:

  • Ubiquiti Camera Emulation: Simulates a UniFi camera to integrate seamlessly with Protect.
  • Motion Detection: Supports event-based recording to save storage and bandwidth.
  • Smart Detections: Enables recording based on object detection, such as people or vehicles.
  • Camera-Specific Tweaks: Includes custom support for certain models (e.g., Hikvision).
  • RTSP Compatibility: Works with any RTSP camera, even those lacking ONVIF support.
  • Experimental h.265/HEVC codec support: Adds an experimental support for the h.265 codec, using the flag --video-codec h265, while still defaulting to h.264 as the main codec.
  • Multiple instance support: Allows multiple cameras from a single DVR/NVR source to be added independently to Protect — useful since ONVIF support typically limits to one camera per ONVIF device.

Credits and Thanks​

This version is a continuation of a work originally created by Keshav Varma, and has evolved through the valuable contributions and forks of:

Each has contributed enhancements and improvements along the way. This fork aims to build upon that foundation with further development, documentation, and features.