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 :-)
Apologies for the delay in response but it took us a while to find what we believe is the solution to your vMix inquiry.
In the following vMix forum post you will see someone inquiring about the same concept and with some back and forth they are able to achieve TCP control using vMix Scripting.
We hope this information is helpful, even if delayed, towards achieving your desired production.
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?