summaryrefslogtreecommitdiff
path: root/Makefile
diff options
context:
space:
mode:
authorxengineering <me@xengineering.eu>2024-01-24 20:43:54 +0100
committerxengineering <me@xengineering.eu>2024-01-27 22:02:27 +0100
commitc79f077db7a79dd953bee68c51b1c4b863051d62 (patch)
tree5903ed40dab1ab1484967111984d839207385a5e /Makefile
parent6b6ed366ad186dce77467fc6e1ea97fa25ac393e (diff)
downloadsoundbox-c79f077db7a79dd953bee68c51b1c4b863051d62.tar
soundbox-c79f077db7a79dd953bee68c51b1c4b863051d62.tar.zst
soundbox-c79f077db7a79dd953bee68c51b1c4b863051d62.zip
doc: Switch protocol, format and codec
The following changes are included in this commit: - multicast to unicast - UDP to TCP - Matroska to ogg - MP3 to FLAC Switching to these protocols has several advantages. Avoiding multicast makes it unnecessary to care about the available multicast addresses in the local network. Unicast addresses are anyway assigned by DHCP. In a multi-room setup this has of course the disadvantage that the same data might be streamed via separate connections. The bandwidth requirement would be multiplied by the number of soundbox devices. But since a stream takes around 2 Mbit/s and we live in a world where 100 Mbit/s in a local network should not be a problem the inefficiency can be neglected. Switching from UDP to TCP has the advantage that the stream is transmitted reliably. Furthermore it avoids the situation that multiple clients stream to the same soundbox simultaneously since a single-connection TCP server is used. The switch from Matroska to ogg is done because the ogg format is recommended on the FLAC homepage. FLAC is used instead of MP3 because it is a lossless audio compression format. This is obviously superior compared to the lossy MP3 format regarding audio quality.
Diffstat (limited to 'Makefile')
0 files changed, 0 insertions, 0 deletions