k-yle / sACN

💡 🎭 Send & Receive sACN data (DMX over IP) in node.js
https://npm.im/sacn
Apache License 2.0
31 stars 13 forks source link

Unicast to a single IP? #52

Closed waltsatan closed 1 year ago

waltsatan commented 1 year ago

Is it possible to specify a single IP to send sACN data to?

k-yle commented 1 year ago

at the moment this isn't possible, but it seems like a reasonable request. the spec requires receivers to accept unicast data, and senders are permitted to send data to unicast addresses

k-yle commented 1 year ago

this is now supported as of v4.4.0 using a new option useUnicastDestination:

const sACNServer = new Sender({
  universe: 1,
  useUnicastDestination: '10.51.0.8'
});
waltsatan commented 1 year ago

Amazing! Thank you. I'll give it a go with my Advatek on Monday.