gozoinks / homebridge-camera-ffmpeg-ufv

UniFi Video plugin for Homebridge
https://www.npmjs.com/package/homebridge-camera-ffmpeg-ufv
Other
76 stars 20 forks source link

Do I need to port forward each cameras port for remote viewing? #18

Open sdevo619 opened 6 years ago

sdevo619 commented 6 years ago

I am able to get my 3 Unifi Ubiquiti Cameras working from inside my network no problem, but I have been running into issues with remote access where the feed times out frequently, but not always, when the cell connection is solid. I see that after HomeBridge is finished booting up, it lists the ports the individual cameras are running on. Do I need to port forward each of those ports too? Currently, Homebridge seems to be configured to use UPNP for the cameras which I'm guessing may be getting blocked by my firewall, as the ports change with every reboot of HomeBridge running on a Synology DiskStation? If I do need to port forward each camera's port listed in the Homebridge startup, for access to the feeds from outside the home, how do I set home bridge to only use a single specific port for that specific camera, so it doesn't change with every reboot? Currently, I am port forwarding the normal UniFi NVR ports for https access, and the API port as well, just for reference. Thank you very much!!!

gozoinks commented 6 years ago

You should not need to forward the ports. An AppleTV or an iPad on the LAN should be receiving those streams and retransmitting them to your mobile device via the cloud. I would suggest making sure whatever your device is your primary HomeKit hub has a good Wi-Fi or wired Ethernet connection.

sdevo619 commented 6 years ago

Thank you very much for the fast reply. You can close this out. After I got your message I turned the ports off I was forwarding and it now seems to be all good. Keep up the great work!!! Thank you!!