Jump to content
C4 Forums | Control4

Unifi Protect - Unable to get video stream to work


Recommended Posts

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?

Screenshot 2023-01-22 at 2.43.08 PM.png

 

Screenshot 2023-01-22 at 2.53.09 PM.png

Link to comment
Share on other sites


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

Link to comment
Share on other sites

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?

Screenshot 2023-01-22 at 2.43.08 PM.png

 

Screenshot 2023-01-22 at 2.53.09 PM.png

Is this the paid driver?

Link to comment
Share on other sites

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.

Link to comment
Share on other sites

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?

Link to comment
Share on other sites

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?

Link to comment
Share on other sites

  • 1 month later...
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.

Link to comment
Share on other sites

This thread is quite old. Please consider starting a new thread rather than reviving this one.

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

×
×
  • Create New...

Important Information

By using this site, you agree to our Terms of Use.