News for hackers. Stuff that matters.
Re:JackTrip WebRTC: high quality, uncompressed, low-delay au... by tleb_ on Thursday January 28, 2021 @12:41PM (#25945452)
Re:JackTrip WebRTC: high quality, uncompressed, low-delay au... by staticfloat on Thursday January 28, 2021 @12:49PM (#25945640)
You pay a price for the super-small frame sizes; much worse compression ratios. Frame sizes smaller than 10ms disable the LPC and hybrid coding modes, which are quite advantageous. [0]

In my experiments with transmitting realtime audio signals using Opus, 10ms frame sizes are acceptable for 1-way synchronicity (e.g. if you want the user to perform an action and hear the result as simultaneous with the action) but it's definitely the upper bound. From what I remember my signal processing professor say, the threshold to try and hit is 7ms total latency for truly undetectable processing, but I can't find a reference for that, so take it with a grain of salt.

[0] https://www.opus-codec.org/docs/html_api/group__opusencoder....

Re:JackTrip WebRTC: high quality, uncompressed, low-delay au... by jarmitage on Thursday January 28, 2021 @12:59PM (#25945878)
See for example:

Robert H. Jack, Tony Stockman, and Andrew McPherson. 2016. Effect of latency on performer interaction and subjective quality assessment of a digital musical instrument. In Proceedings of the Audio Mostly 2016 (AM '16). Association for Computing Machinery, New York, NY, USA, 116–123. DOI: https://doi.org/10.1145/2986416.2986428

https://scholar.google.com/scholar?cluster=13472622195552899...

Re:JackTrip WebRTC: high quality, uncompressed, low-delay au... by declnz on Thursday January 28, 2021 @01:12PM (#25946134)
Jamulus uses Opus for this reason (balance with quality) AIUI
Re:JackTrip WebRTC: high quality, uncompressed, low-delay au... by spacechild1 on Thursday January 28, 2021 @03:34PM (#25948721)
As do SoundJack, SonoBus and probably many other similar apps.