Skip to content

Adding UniFi cameras to external DVR #37

Description

@djkamil1000

Hello!
I want to add UniFi cameras running via UniFi Protect application on UniFi Dream Machine Pro to external DVR - HQvision HQ-THD3204A-720P, that allows to add Hikvision or ONVIF cameras only (UniFi cameras have RTSP stream only). While searching for a way to connect these cameras, I found this project. I cross compiled onvif_srvd binary for UniFi Dream Machine Pro (arm64 architecture) with WSSE_ON=1 flag. I run daemon on UDM with this flags:
onvif_srvd --ifs br0 --scope onvif://www.onvif.org/name/cam-loc-pp-a --scope onvif://www.onvif.org/Profile/Streaming --name RTSP --width 1024 --height 576 --url rtsp://%s:7447/key --type H264
After starting, I can view a stream from a camera on Windows computer using ONVIF Device Manager. But on the DVR I can add camera and it shows as online, but stream doesn't appear. I tried some changes (better/worse quality, other stream type), but still it's not possible to view stream from UniFi cameras (also in some cases it was not possible to view stream in ONVIF Device Manager). Are there any other ways to run these streams on the DVR?

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions