BWillett Posted January 22, 2023 Share Posted January 22, 2023 I am having an issue getting the Unifi Protect NVR driver to successfully connect to the camera RSTP stream. I installed the Unifi Protect Gateway driver and bound the camera to the Unifi Gateway. I installed the Unifi Protect Camera (NVR) driver, made the connection to the camera. Set the RTSP port to 7447 and the H264 stream to Low (or Medium). When I try to test the VIdeo URL, it fails. However, when I test the rtsp URL in VLC, it works just fine. Also, I am getting motion events from the gateway. At least that is working. Any idea what I might need to look at to fix the video stream issue? Quote Link to comment Share on other sites More sharing options...
WhyPhy Posted January 22, 2023 Share Posted January 22, 2023 What version of hardware and software for your controller? Quote Link to comment Share on other sites More sharing options...
BWillett Posted January 22, 2023 Author Share Posted January 22, 2023 Director: EA3 OS 3.3.2 unifi_protect_camera.c4z Version: 20220228 unifi_gateway.c4z Version: 20220228 Unifi Dream Machine Pro: Unifi OS: UDM SE v3.0.13 Unifi UVC G4 Pro Camera: Firmware Version:UVC.v4.61.19.67.M_9c31a8d.221225.1815 Quote Link to comment Share on other sites More sharing options...
chopedogg88 Posted January 22, 2023 Share Posted January 22, 2023 Did the gateway driver discover the cameras properly and did you bind them in connections to the camera drivers? Quote Link to comment Share on other sites More sharing options...
BWillett Posted January 22, 2023 Author Share Posted January 22, 2023 Yes. There are two cameras and it discovered both. When camera driver was bound to the camera, the correct camera IP address showed up in the camera driver. Quote Link to comment Share on other sites More sharing options...
chopedogg88 Posted January 22, 2023 Share Posted January 22, 2023 Yes then it should work. You won't see live stream until you click on the camera view. Won't see thumbnails. Assume you also enabled the low stream for rtsp on the cameras themselves. Quote Link to comment Share on other sites More sharing options...
BWillett Posted January 22, 2023 Author Share Posted January 22, 2023 Yes, the low and medium streams are enabled for the camera on Unifi Protect settings. Unfortunately, whether it is the camera view or the camera test tab, I am having no luck getting the rtsp stream to work. Quote Link to comment Share on other sites More sharing options...
ejn1 Posted January 22, 2023 Share Posted January 22, 2023 2 hours ago, BWillett said: I am having an issue getting the Unifi Protect NVR driver to successfully connect to the camera RSTP stream. I installed the Unifi Protect Gateway driver and bound the camera to the Unifi Gateway. I installed the Unifi Protect Camera (NVR) driver, made the connection to the camera. Set the RTSP port to 7447 and the H264 stream to Low (or Medium). When I try to test the VIdeo URL, it fails. However, when I test the rtsp URL in VLC, it works just fine. Also, I am getting motion events from the gateway. At least that is working. Any idea what I might need to look at to fix the video stream issue? Is this the paid driver? Quote Link to comment Share on other sites More sharing options...
BWillett Posted January 22, 2023 Author Share Posted January 22, 2023 Yes Quote Link to comment Share on other sites More sharing options...
chopedogg88 Posted January 22, 2023 Share Posted January 22, 2023 The picture you attached shows the IP address of the gateway not the camera. Are you using the nvr camera driver or the standalone camera driver? Quote Link to comment Share on other sites More sharing options...
jimbones Posted January 23, 2023 Share Posted January 23, 2023 @BWillett This might seem like a silly thing, but a few things to try: - make sure that control4 user has the appropriate user permissions on your unifi console (role: administrator, user type: local user) - reboot your UDMP SE Quote Link to comment Share on other sites More sharing options...
WhyPhy Posted January 23, 2023 Share Posted January 23, 2023 22 hours ago, chopedogg88 said: The picture you attached shows the IP address of the gateway not the camera. Are you using the nvr camera driver or the standalone camera driver? When I do a camera test on my UniFi Protect Camera (NVR) device, the Video URL shows the IP address of the Gateway (not the Camera.) The test completes successfully and the RTSP stream is viewable in VLC. Apparently that's how it's supposed to work; the UniFi Protect Gatway proxies the RTSP stream. Quote Link to comment Share on other sites More sharing options...
BWillett Posted January 23, 2023 Author Share Posted January 23, 2023 Thanks for all the replies. Turns out I needed to update the driver to the latest that was just released. Version 20230118. Quote Link to comment Share on other sites More sharing options...
chopedogg88 Posted January 23, 2023 Share Posted January 23, 2023 Is that required for OS 3.2.2? Quote Link to comment Share on other sites More sharing options...
WhyPhy Posted January 24, 2023 Share Posted January 24, 2023 2 hours ago, chopedogg88 said: Is that required for OS 3.2.2? Yes, it’s because of the Camera V2 Proxy included in OS 3.3.2. Quote Link to comment Share on other sites More sharing options...
jimbones Posted January 24, 2023 Share Posted January 24, 2023 And the new driver works beautifully. Adds support for snapshots, auto stream quality selection, and some new Unifi Protect features (like package detection!) Quote Link to comment Share on other sites More sharing options...
WhyPhy Posted January 24, 2023 Share Posted January 24, 2023 3 hours ago, jimbones said: And the new driver works beautifully. Adds support for snapshots, auto stream quality selection, and some new Unifi Protect features (like package detection!) What exactly are “dynamic snapshots” and how are they different from the snapshots of the prior versions? Quote Link to comment Share on other sites More sharing options...
msgreenf Posted January 24, 2023 Share Posted January 24, 2023 5 hours ago, WhyPhy said: What exactly are “dynamic snapshots” and how are they different from the snapshots of the prior versions? It allows the driver to request an updated URL at runtime. Which was not possible before. Quote Link to comment Share on other sites More sharing options...
WhyPhy Posted January 24, 2023 Share Posted January 24, 2023 3 hours ago, msgreenf said: It allows the driver to request an updated URL at runtime. Which was not possible before. So what does this mean from a programming standpoint? For the camera's "Smart Detection - Vehicle", do you just add programming for "Send Push Notification for Vehicle Detection", that's calls a standard push notification w/image? It's no longer required to create the snapshot image and then push it? Quote Link to comment Share on other sites More sharing options...
msgreenf Posted January 24, 2023 Share Posted January 24, 2023 It means nothing from a programming standpoint but :-cinegration did add those features Quote Link to comment Share on other sites More sharing options...
blackhawks41 Posted February 26, 2023 Share Posted February 26, 2023 @msgreenf is this a different driver than the one you created for unifi? And if its the same, how do I migrate license over? Quote Link to comment Share on other sites More sharing options...
msgreenf Posted February 26, 2023 Share Posted February 26, 2023 31 minutes ago, blackhawks41 said: @msgreenf is this a different driver than the one you created for unifi? And if its the same, how do I migrate license over? The driver discussed above is not mine Quote Link to comment Share on other sites More sharing options...
Bsmall423 Posted February 27, 2023 Share Posted February 27, 2023 On 1/23/2023 at 4:54 PM, BWillett said: Thanks for all the replies. Turns out I needed to update the driver to the latest that was just released. Version 20230118. Did you do anything else? I have the same problem right now. (Trying to test out before purchasing) "Could not open resource for reading and writing." when i try to view stream... snapshot works fine. Quote Link to comment Share on other sites More sharing options...
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.