Jump to content

Recommended Posts

Posted (edited)

I know, I know, Unifi want you to buy one of their Unifi Protect servers now, which completely defeats the reason Unifi got so popular in the first place.. But ignoring that..

 

If you take a look at the stock ubnt_nvr.conf, standaloneEnabled is set to 0, and rtspEnabled is set to 1.

If you set standaloneEnabled to 1, the camera reboots and 3 rtsp links are automatically generated, /s0, /s1 and /s2, so that tells me these cameras can still operate in standalone mode.

 

By default, there's also rtspUsername, rtspPassword, and rtspAuthEnabled settings, which are by default set as 1, a random-looking alphanumeric string, and ubnt respectively.

 

If I try any of the generated rtsp links, VLC won't connect.

If I try any of the generated rtsp links formatted as user:pass@*, VLC still won't connect.

If I set rtspAuthEnabled to 0, VLC - you guessed it - still doesn't connect.

 

Currently my conf looks like this:

Cam1-4.59.32# cat ubnt_nvr.conf
{
   "cfgver": 3,
   "links": [
       "rtsp:\/\/10.11.[color="#B22222"]X[/color].[color="#B22222"]X[/color]:554\/s0",
       "rtsp:\/\/10.11.[color="#B22222"]X[/color].[color="#B22222"]X[/color]:554\/s1",
       "rtsp:\/\/10.11.[color="#B22222"]X[/color].[color="#B22222"]X[/color]:554\/s2"
   ],
   "ntpClientHost": "pool.ntp.org",
   "recordFulltime": 0,
   "rtspAuthEnabled": 0,
   "rtspEnabled": 1,
   "rtspPassword": "[color="#B22222"]ARand0m32CharsAlph4num3ricString[/color]",
   "rtspPort": 554,
   "rtspUsername": "ubnt",
   "standaloneEnabled": 1
}

 

Is there something I'm missing here, or am I just barking up the wrong tree? Is this possible, or just one of those things where it has all the settings so it looks like it should work but actually it's all just red herrings?

 

* e.g rtsp://user:[email protected]:554/s0

Edited by Garacesh
Posted

Have you tried a different viewer? I've previously found VLC to be a bit weird about RTSP links.

 

Anycam.io will let you download a free single cam viewer just to prove if it's VLC or not?

Posted

I did it with G3’s and a hikvisiom nvr (didn’t like it, gone back to a cloud key).

 

I simply visited the built in web server (IP address) of each of my g3, set user password and connected with rtsp

Posted

I also had a Pi that could connect to Unifi Protect cameras and display a live feed from multiple cameras on one page.

 

Below is the tutorial I think I followed.

 

Posted (edited)
I also had a Pi that could connect to Unifi Protect cameras and display a live feed from multiple cameras on one page.

 

Below is the tutorial I think I followed.

 

 

Looks like it still relies on RTSP which this camera seemingly won't output despite it being enabled.

Edited by Garacesh
Why do I always mistype RTSP as RSTP? 🤦♂️
  • Thanks 1

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now



×
×
  • Create New...