cbdevnet / midimonster

Multi-protocol control & translation software (ArtNet, MIDI, OSC, sACN, ...)
https://midimonster.net/
BSD 2-Clause "Simplified" License
485 stars 48 forks source link

sACN Multicast on Mac not receiving #101

Open sarahmva opened 2 years ago

sarahmva commented 2 years ago

I have set up midimonster to convert sACN to ArtNet on a Mac. It does work perfectly when using Unicast directly to the Mac IP address. Unfortunately I could not get it to work for MultiCast. Search google shows that it should be able to receive Multicast and the Mac itself does receive Multicast when using sACNViewer. This shows that the network is working OK.

I am using v0.6-osx.

Is there maybe something wrong with my configuration?

Thanks!

[backend artnet]
bind = 192.168.###.100

[backend sacn]
bind = 192.168.###.100

[artnet art1]
universe = 9
destination = 255.255.255.255

[sacn sacn1]
universe = 9

[map]
sacn1.{1..512} > art1.{1..512}
cbdevnet commented 2 years ago

Hi @sarahmva, thanks for bringing this to our attention and your interest in making the MIDIMonster better :)

The configuration seems good so far, so I'll need to check into whether OSX might need some special handling for multicast input. I'll get back to you once I have more info :)

sarahmva commented 2 years ago

Thank you. I forgot to mention the OSX version:

Mac OSX 11.6 Big Sur on Mac Mini 2020 with M1 processor.

Let me know if O can help or test / check anything.

cbdevnet commented 2 years ago

I've analyzed the situation and it seems I need to select the multicast interface differently when an explicit bind address is given. As a workaround, specifying the wildcard bind address 0.0.0.0 for the sACN backend should work :)

sarahmva commented 2 years ago

Thank you so much for checking, this works for now. I need to test with multiple interfaces but it should work since I can bind the Artnet sending to a specific address.