glikely / obs-ptz

OBS Pan Tilt Zoom camera control plugin
GNU General Public License v2.0
156 stars 42 forks source link

Enhancement: Camera IP Address Discovery Feature #34

Open Mazecreator opened 3 years ago

Mazecreator commented 3 years ago

Use the ONVIF protocol (not sure if VISCA over IP has such a feature) to auto discover the IP Address of the cameras on a network. If possible, it would be good to select the network if possible as some PCs might have 2 or more networks configured or multiple LAN cards. Sometimes the Autodiscovery feature runs on the wrong network and doesn't detect the desired cameras.

glikely commented 3 years ago

Good suggestion. Unfortunately I don't have any devices that use ONVIF, so I won't be able to work on this right away. I'm happy to accept patches from anyone who gets it working though.

Mazecreator commented 3 years ago

Sounds good, I have looked at the code prior when looking to test TCP/IP on the VISCA over IP and it seemed like a massive task to convert the UDP protocol to TCP/IP under QT (I am not that familiar with that library yet). I think ONVIF is TCP/IP, so it might fall into the same category, but might be easier from scratch. I will look at it as I think it would be helpful.

I have done a little looking at a separate C++ TCP/IP library, but can't find anything that is light-weight...