xiph / Icecast-Server

Icecast streaming media server (Mirror) - Please report bugs at https://gitlab.xiph.org/xiph/icecast-server/issues
https://icecast.org
GNU General Public License v2.0
465 stars 127 forks source link

Idea: use UDP w/Multicast for LAN setups #58

Open djechelon opened 1 year ago

djechelon commented 1 year ago

Would it make sense for Icecast to work also in UDP?

I'm doing research and experiments on silent party live mixing, and while the topic looks like old, I found that when people are at the same venue over Wifi they will experience variable delays in OGG streaming*, uncomfortable to make a party.

Since clients such as VLC Media Player can run UDP broadcast streams, would it make sense for the server to support those protocols especially when the setup is not running across internet? I was thinking about a setup where the audio source can serve audio either via http or UDP, and where Icecast serves the stream over a UDP multicast address, to which clients connected to same LAN can join.

*Example setup: Traktor -> Icecast on Docker -> VLC client on Android

phschafft commented 1 year ago

Is there a ticket for this in the official ticket system?

Also keep in mind that Icecast is a broadcasting solution, not a real time music distributor. It values connection stability over delay to do it's task correctly. Plus most delays come from the listener client's buffer anyway (Icecast has latencies under 5ms itself, the rest is all network and encoder and listener buffers).