keshavdv / unifi-cam-proxy

Enable non-Ubiquiti cameras to work with Unifi NVR
MIT License
1.65k stars 230 forks source link

Can't get multiple cameras to work at the same time.... #115

Closed republicandaddy closed 2 years ago

republicandaddy commented 2 years ago

Ok, I'm runnning this on a Pi4B with 8GB RAM. It's running the Ubuntu 20.04 Server OS. all is updated and current.

I am able to get a single camera to run and record set on always, very well!

The problem I'm having is (I use the MAC addresses instead of the IPs), If I get one running, then run the command for the second one, as soon as the second one runs, it "disconnects" the first one.

I am trying to get 2 Reolink RLC-511W's and one Dahua SD49225XA-HNR running. They each work fine on their own, but won't stay connected when another is added. I have no idea what I'm doing wrong. Any ideas?

The Dahua cam is a PTZ cam, but I have it running a scan controlled by the camera as well as a person and vehicle follow function once it detects one. I switched it to BASIC RTSP authentication from Digest, but that didn't help any of this.

The only oddity I can see is that, even though the RTSP stream is using a different IP for each, the IP in Protect shows XXX.XXX.XXX.10 every time no matter what camera connects. That address doesn't belong to any device on my network although it is in the same subnet.

Any help would be VERY appreciated.

WaaromZoMoeilijk commented 2 years ago

Please post the commands you use and point out the ip address of the PI and both camera's. I managed to get it working with 2x reolink cam, although it only has a still image and not live video. Both work though.

stale[bot] commented 2 years ago

This issue has been automatically marked as stale because it has not had recent activity. It will be closed if no further activity occurs. Thank you for your contributions.