Garacesh Posted November 8, 2023 Posted November 8, 2023 (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 November 8, 2023 by Garacesh
Oaktech Posted November 8, 2023 Posted November 8, 2023 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?
Garacesh Posted November 8, 2023 Author Posted November 8, 2023 I've tried VLC, Blue Iris, and XProtect Essentials+, but hey-ho, let's give it a bash for posterity... aaaaaaand nope.
XiJ Posted November 8, 2023 Posted November 8, 2023 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
Davit2005 Posted November 9, 2023 Posted November 9, 2023 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.
Garacesh Posted November 9, 2023 Author Posted November 9, 2023 (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 November 9, 2023 by Garacesh Why do I always mistype RTSP as RSTP? 🤦♂️ 1
Recommended Posts
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 accountSign in
Already have an account? Sign in here.
Sign In Now