What frame duration range, allowing for dynamic changes packet-to-packet, contributes to Opus's low latency capabilities?

Answer

2.5 ms to 60 ms

Opus achieves its low latency targets through flexible control over frame size, which directly dictates delay. The codec permits frame durations ranging anywhere between 2.5 milliseconds (for extremely low latency requirements) and 60 milliseconds (for higher efficiency). A key differentiator is that this frame size is not fixed for the entire stream; it can dynamically change between successive packets. For typical Voice over IP applications, the default setting utilizes a 20 ms frame size, which results in a very low overall latency of approximately 26.5 ms, a duration generally imperceptible during conversation.

What frame duration range, allowing for dynamic changes packet-to-packet, contributes to Opus's low latency capabilities?
inventoraudiocompressioncodecOpus