Sending UDP Multicas Audio Not Working as expected
I’m streaming raw audio to a number of devices (ESP32 wifi module based) over a dedicated wifi network using an Archer A6 router. I’m sending the audio to a UDP multicast address from a laptop over Ethernet to the dedicated wifi router.I want all the devices to simultaneously receive the audio stream over wifi. If I stream the audio to 3 devices on the wifii network all is good however if after starting the audio stream I disconnect a device or 2 the audio on the remaining device becomes choppy. This happens about 25 seconds after the other devices are removed. It takes about 1 minute 35 seconds for the signal to return to normal on the remaining device.I’m not sure why? Is the router looking for the previously connected devices and using up bandwidth? With multicast I figured the stream would just continue uninterrupted and if a device was out there to listen, it would jump on the stream. I didn't think leaving the stream with one device would affect the stream going to other devices. Obviously my understanding of how multicast streaming works is flawed. Is there a setting on my router I need to change? Do I need a fancier router? I want all the devices to receive the audio simultaneously so I can’t use something like icecast. If I use Broadcast instead of Multicast removing devices doesn't affect the remaining devices however I get much worse reception when using Broadcast. I would appreciate any advice.
Thanks!