I am trying to build a simple Python script to control my camera(s) via VISCA over IP. I have the control commands working (save/load presets, p/t/z, etc), but am having trouble getting a response from inquiry commands. I am listening for UDP packets, can someone help me figure out how to listen for a VISCA response with python?
When setting up your UDP Server Socket for listening are you listening on the same port that the command was sent out on?
So with each connection the port can change, just making sure you're monitoring the outgoing port used and then listening back on that same UDP port?
I'll also throw out there the possibility of utilizing TCP in Python as it was built with the ability to handle the responses in an easier fashion.
Happy to continue to assist as I do love when people are building their own solutions to accompanying the PTZOptics cameras :-)