Glossary

Jitter Buffer

A few milliseconds of patience. The jitter buffer collects packets that arrive early, late or out of order and releases them on a steady clock, so the listener hears continuous speech instead of the network’s stutter.

General definition

Jitter Buffer is the name for a small queue on the receiving side of a voice or video call. Packets leave the sender at regular intervals, typically every 20 milliseconds for audio, but they arrive with varying delay because each one is routed and queued independently along the way. That variation is jitter. If the decoder played each packet the moment it arrived, speech would speed up, slow down and break wherever a packet was late. The jitter buffer absorbs the variation by delaying playout slightly, so that most packets are already waiting when their turn comes.

  • Reordering: packets are placed by RTP sequence number, so a packet that overtook its predecessor is played in the right place
  • Smoothing: playout follows the RTP timestamp clock, not arrival time
  • Loss handling: a packet that has not arrived by its deadline is treated as lost and handed to packet loss concealment or forward error correction
  • Cost: every millisecond of buffer is a millisecond of extra latency, so the buffer wants to be as small as the network allows

A fixed jitter buffer uses a constant delay chosen in advance, which is simple but either too large on good networks or too small on bad ones. An adaptive jitter buffer measures recent jitter and packet loss and resizes itself continuously, growing during a rough patch and shrinking again when the network settles. Almost all modern VoIP and conferencing software uses adaptive buffers with targets in the tens of milliseconds, stretching to a few hundred on poor mobile links.

WebRTC’s audio jitter buffer is NetEQ, a component inherited from Global IP Solutions that combines the buffer with time-stretching and concealment. When the buffer is running low, NetEQ stretches the audio imperceptibly to buy time; when it has grown too deep, it compresses silence and speech slightly to catch up, so latency recovers without an audible jump. Video uses a separate frame buffer that assembles packets into complete frames and waits for missing pieces, subject to the same latency trade-off and to the quality of service the network provides.

Adding calls to your product? The Ethora voice chat SDK is built on WebRTC, with 1:1 calls, group voice rooms and push-to-talk for web, iOS and Android.

In the Ethora ecosystem

Ethora calls are built on WebRTC, so jitter buffering happens in the browser or native client on each participant’s device using the standard adaptive buffers (NetEQ for audio, the WebRTC frame buffer for video); it is not something an application developer configures. The SFU in the middle forwards packets rather than decoding them, so it adds no playout buffering of its own, which keeps end-to-end latency low on group calls.

What the deployment model does change is the path those packets travel. A dedicated or self-hosted Ethora server places the SFU in the region you choose, close to your users, which shortens the path, lowers jitter and lets the client buffers stay small. For telehealth or financial advice calls where conversational latency matters, that placement is usually worth more than any codec setting. See the voice and video call API page for the calling features.

Get started

Add voice chat to your app

1:1 calls, group voice rooms and push-to-talk, built on WebRTC, on our cloud or your own infrastructure.

Free tier available Enterprise SLA No vendor lock-in