Hi Mats,
thanks for your ideas and measurements!
IEM is a cool additional use case that might not divert too much from the main goal of sonobus.
I just wanted to make sure every reader understands the difference between latency and bandwidth, because you made a connection between them in your last sentence.
I compare latency with the length of the road, and bandwidth with the number of lanes - given that all packets drive with ~speed of light, there is no way more lanes will make your road shorter.
But since even the best opus settings costs 2.5ms of latency, you gain a significant amount of time by not compressing.
If you have 10+ channel, your upload bandwidth gets clogged since Internet providers tend to still provide last-Millennium-broadband. But if you need to opus decode 10+ channels in ultra low latency with a realtime scheduler, you raspi will be insufficient.
The race to zero latency means that if you have all endpoints in the same LAN, you can consider Layer 2 alternatives like AVB (now TSN) that can give you guaranteed submillisecond bounded latency, or a layer 3 AoIP standard as AES67 or other proprietary ones. Those are mostly used in pro audio and broadcast and unfortunately not too approachable by the open source community.
Most musicians will whine about 10ms, but it is better than the latency that some mipro wireless IEM systems achieve ;-)
I like to measure air pressure wave in mic to air pressure wave out headphones of the other device(the only relevant latency), but parts of that chain are easier to compare a single aspect. Internet latency is normally the major part and never very stable.
Jesse, you created a great application, and I like the user interface better than all the others so far.
Happy to be part of the community!
Daniel