Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Adding UniFi cameras to external DVR #37

Open
djkamil1000 opened this issue May 25, 2021 · 1 comment
Open

Adding UniFi cameras to external DVR #37

djkamil1000 opened this issue May 25, 2021 · 1 comment

Comments

@djkamil1000
Copy link

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?

@KoynovStas
Copy link
Owner

I don't know how to help you. I am not professionally engaged in IPTV. But I can say that once on one of the DVR the RTSP stream did not show. BUT everything was fine on the Web interface of the same DVR. So this is the problem of the DVR. ONVIF is only needed to search and exchange URLs. it has nothing to do with the RTSP.
If the onvif_srvd gave the URL, he fully completed his task.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants