3 ms·
Some codecs also offer an "Adaptive" bitrate mode. In that mode the codec can vary the bitrate but never in response to audio input. So e.g. maybe you're doing
by tialaramex 6y ago
Some codecs also offer an "Adaptive" bitrate mode. In that mode the codec can vary the bitrate but never in response to audio input.
So e.g. maybe you're doing 48kbps, the codec would still consume 48000 bits per second for silence. However if a radio link layer indicates it's struggling to move 48000 bits per second that "adaptive mode" audio codec could shift down to 36kbps instead. This is likely to be a much better user experience than throwing away 25% of your compressed audio due to packet loss and then trying to reconstruct it.
For something like Opus you can gracefully degrade this way from 48kbps (transparent for voice) to 8kbps (non-transparent but easily understandable) without an eavesdropper learning anything about the content, they only get insight into whether you've got link trouble.