-
Notifications
You must be signed in to change notification settings - Fork 7
Description
@vwout thought I'd ask for forgiveness rather than permission!
I've refactored the whole thing, so if you find the time to upgrade, for obs-visca-control you'd need to replace
socket.find_first_address("*", port, {family="inet", socket_type="dgram", protocol="udp"})with
socket.find_first_address_info("*", port, nil, "inet", "dgram", "udp")Other than that it should be the same.
addressinfo is its own object now which could also be addressinfo:free()'d. socket:receive_from() also returns a proper addressinfo object. In the past it was just some adhoc table that looked like one.
But the way the old socket:recive_from() was implemented, it would likely cause a memory leak when called.
I also removed the docker, action and lunit stuff, not necessarily because I didn't like it, but just because I didn't understand how to set it up. I don't mind this being added back again as long as there are clear instructions on how to setup. So right now it just builds luajit from source and runs test/run.lua