christf / snapcastc

C implementation of snapcast focussing on audio quality and ease of maintenance.
GNU General Public License v3.0
43 stars 6 forks source link

How many simultanious udp clients can snapcastC suppport ? #67

Open gorive opened 3 years ago

gorive commented 3 years ago

Cool project - got a question Is it possible to stream data to ex 500 udp clients via unicast ?

christf commented 3 years ago

The amount of clients is limited by the size of uint16_t in the code base. This easily accomodates 500 clients. That being said I never tried to work with client sets that large.

If you are willing to give it a try I am happy to work with you to make it work in case you are hitting a road block. Please do let me know how your experiment goes....

kdknigga commented 2 years ago

Just an idea, multicast support would be pretty ideal for something like this. Why send 500 UDP packets when you can send 1 and let your network gear do the heavy lifting?

christf commented 2 years ago

multicast rate over wifi is strictly limited. So much that I'd rather not rely on it working..

christf commented 2 years ago

Am Mon, Oct 25, 2021 at 08:36:04AM -0700 schrieb Kris Knigga:

Just an idea, multicast support would be pretty ideal for something like this. Why send 500 UDP packets when you can send 1 and let your network gear do the heavy lifting? ... I guess this could be turned on with a cli switch....

-- () ascii ribbon campaign - against html e-mail /\ www.asciiribbon.org - against proprietary attachments

christf commented 4 months ago

Cool project - got a question Is it possible to stream data to ex 500 udp clients via unicast ?

what became of the experiment?