4 ms·
An Opus frame can be as short as 2.5 ms [1] (at this packet size the effect of network buffering can be pretty obvious), but I use a frame size of 20 ms anyway
by Tigress8780 3y ago
An Opus frame can be as short as 2.5 ms [1] (at this packet size the effect of network buffering can be pretty obvious), but I use a frame size of 20 ms anyway when capturing on Windows, since this is what `cpal` gives me.
[1] https://opus-codec.org/docs/opus_api-1.3.1/group__opus__encoder.html https://opus-codec.org/docs/opus_api-1.3.1/group__opus__enco...