OSCLeash
OSCLeash copied to clipboard
Add OSCQuery support (for parameter receiving from VRChat)
Hey!
This pull request uses tinyoscquery to add basic support for OSCQuery. It will advertise all the endpoints OSCLeash expects to receive, and VRChat will send OSCLeash the parameters regardless of the port it is running on.
In OSCQuery mode, the OSC server port is also randomized to any non-occupied UDP port on the system.
Tested and works for me ™️
Heya!
This is awesome, I will have test this next week
Oh dang. I completely missed this. Apologies.
I've avoided OSCQuery support on OSCLeash since the app is written in python and OSCQuery does not whitelist data. Instead, OSCQ sends ALL possible parameters should an advertised parameter match. If you're using an avatar that has a lot of parameters that update often, it's really easy to bog down an app written in python since it receives and filters out all that worthless data. (I really need to do a C# rewrite aaaa) Each physbone with parameters will send out 3 parameters per frame, it gets painful fast.
Regardless, after I do some testing, I'll hopefully merge this and leave a note in the FAQ about CPU usage. Thank you for the PR!