top of page

What is Jitter Buffer?

Oct 24
11 min read

Updated: Oct 27

What is Jitter Buffer?

 

A jitter buffer is temporary storage at the receiving end of a media connection that holds incoming data before scheduled playback. It helps turn uneven packet arrivals into a steadier stream of sound or pictures. Its central trade-off is time: waiting can make more packets usable, but also makes the media reach the listener or viewer later.

 

Jitter buffers are particularly relevant to internet calls, conferencing and other interactive media. They cannot make a missing packet arrive, remove the distance between endpoints or guarantee smooth playback through every disruption. Their job is to manage the receiver's available timing margin.

 

Why arriving and playing are different events

 

Media may be captured at a regular rhythm while its packets reach the receiver irregularly. One packet waits in a queue, another crosses a wireless link promptly, and a later packet can sometimes overtake an earlier one. Playing each packet immediately on arrival would pass that unevenness directly into playback.

 

The receiver instead needs a schedule. It keeps useful early material until its turn and gives material that is delayed a limited opportunity to arrive. When the scheduled point is reached, the media pipeline must decide what to output with the data available.

 

The Jitter guide explains variation in network timing. A jitter buffer addresses the effect of that variation at the receiver; it does not repair the network or make the original arrival pattern regular.

 

Three different events are worth keeping separate:

 

  • A packet reaches the receiving system.

  • Its media data becomes available for the next processing stage.

  • The corresponding sound or picture is actually presented to the user.

 

Decoding, device queues and display or audio hardware can introduce additional delay after the jitter buffer. Measuring one of these boundaries does not automatically measure the others.

 

What information does the receiver use?

 

A receiver needs to associate incoming data with its intended position in the media stream. In RTP-based services, sequence numbers help identify packet ordering and gaps, while media timestamps describe timing. A timestamp is not simply a wall-clock arrival time.

 

RFC 3550, the IETF's July 2003 RTP specification, defines these timing and sequencing functions without promising packet delivery. Its reported interarrival-jitter estimate describes smoothed differences in packet spacing. That statistic is not the receiver's buffer delay, the largest observed delay excursion or a universal value to copy into a setting.

 

The receiver also needs a mapping between media time and its local playout clock. It cannot assume that the sender and receiver clocks run at exactly the same rate forever. Packet duration, changing arrival conditions and implementation policy all affect how that mapping is maintained.

 

For video, a frame can span several packets. Having the first packet does not necessarily mean the complete frame is ready to decode. A receiver must manage assembly and dependencies as well as presentation timing; a single audio-packet analogy cannot describe every video pipeline.

 

Fixed and adaptive jitter buffers

 

A fixed configuration keeps its chosen playout timing policy rather than continuously increasing and decreasing the target in response to changing network conditions. An adaptive implementation adjusts its target or effective timing window as conditions change.

 

The IETF's RFC 7005 de-jitter buffer specification describes early arrivals being held, excessively late arrivals being discarded and fixed versus adaptive operation. It also distinguishes nominal delay from the maximum delay represented by the buffer window. Those quantities should not be treated as interchangeable.

 

“Fixed” does not mean that every packet spends an identical time in memory. With a fixed output schedule, a packet arriving early waits longer than one arriving shortly before its deadline. The schedule can be fixed while individual residence times vary.

 

An adaptive buffer has another decision to make: how quickly to respond. Increasing its margin can protect against a new period of variation, while reducing that margin can restore a shorter conversational delay. The adjustment method matters because an abrupt timing change can itself affect playback.

 

Approach

Main consideration

Fixed timing policy

Predictable configured margin, but it may be too small or unnecessarily large for current conditions

Adaptive timing policy

Responds to changing conditions, with behaviour determined by its algorithm and configured limits

 

Neither label establishes the quality of an implementation on its own. A well-chosen policy must balance audible or visible disruption, delay, available resources and the needs of the service.

 

Worked example: which packets make their deadline?

 

Here is an original Techie Broadband illustration using five packets, each representing 20 ms of media. All times below are milliseconds on one simplified shared timeline. The chosen values are invented, not measurements or recommended settings.

 

Assume that each packet becomes available to send at its stated source time. Arrival times already include the illustrated network journey. Enough storage is available for the early packets. We ignore decoding, hardware delay, clock mismatch and processing time to isolate the receiver's scheduling decision.

 

The first packet arrives at 40 ms. With an initial hold of 40 ms, playback starts at 80 ms, then advances by 20 ms per packet.

 

Packet

Source time

Arrival time

Scheduled playout

A

0 ms

40 ms

80 ms

B

20 ms

80 ms

100 ms

C

40 ms

75 ms

120 ms

D

60 ms

130 ms

140 ms

E

80 ms

175 ms

160 ms

 

Packet C arrives before B, but both are available before their own scheduled playout points. The receiver can preserve their intended media order. A waits 40 ms, B waits 20 ms, C waits 45 ms and D waits 10 ms. Their different waiting times produce the same regular output spacing.

 

Packet E arrives 15 ms after its 160 ms deadline. Under this illustration's discard-late policy, it cannot be played in its original slot. Continuing the output requires another action, such as concealment, rather than pretending the original packet was available on time.

 

Now increase the initial hold to 60 ms. The schedule becomes 100, 120, 140, 160 and 180 ms. All five packets arrive before those points, including E with 5 ms to spare. The extra 20 ms makes the late packet usable in this example, but also delays every scheduled output by 20 ms.

 

For the first packet, source-to-playout time rises from 80 ms to 100 ms. That complete interval includes the initial 40 ms journey as well as the chosen hold. Calling the original 40 ms hold the whole end-to-end delay would miss half of the illustrated path.

 

This is a deliberately simplified fixed-schedule model. Real receivers need processing margin and clock tracking, and an adaptive implementation may not switch schedules in this manner. The example explains the trade-off without prescribing a buffer size for a particular product.

 

What is Jitter Buffer infographic explaining the mechanism, key stages and practical limits.

 

Why making the buffer larger can create another problem

 

A larger timing margin can reduce some late discards, but its delay is part of the user experience. A call may sound continuous while participants find it harder to take turns, interrupt or coordinate speech. Clean audio and responsive conversation are related goals, not identical measurements.

 

The Latency Sensitivity guide explains why the consequence of waiting depends on the activity. An interactive conversation and a one-way broadcast do not necessarily accept the same delay policy, even if both use internet-delivered audio.

 

More capacity in bytes is also different from more delay in time. Memory can hold extra data without requiring the application to wait for the entire allocation to fill. Check whether a product's control means maximum capacity, target delay, initial delay or another quantity before interpreting it.

 

Several buffering stages can coexist. A media gateway, receiving application and output device may each contribute to the complete path. Do not assume that adjusting one visible control sets all of them, or that an application's reported jitter-buffer delay includes every downstream stage.

 

There is consequently no universal “best” number to apply to all phones, browsers, codecs and networks. Follow the service's supported controls and judge both continuity and complete-path delay under representative conditions.

 

Lost, late and reordered packets are different

 

A packet can be delayed and still arrive before it is needed. Another can arrive successfully at the network interface but miss its media deadline. A third can fail to arrive at all. These outcomes can require different remedies and can appear in different diagnostic counters.

 

The Packet Loss guide covers missing network data. A jitter buffer supplies time and ordering opportunities; storing other packets does not recreate the original contents of a packet that never arrived.

 

Packet loss concealment generates a substitute output when original material is unavailable. It may reduce the disturbance, but it should not be described as recovering the exact missing speech or picture. A listener hearing continuous sound does not prove that all original packets were delivered.

 

Other mechanisms may recover information, depending on the codec and protocol. Forward error correction uses redundancy, while retransmission requests another delivery. Both need usable information to become available before the relevant processing or presentation deadline. A repaired packet arriving too late may still have no value for its original slot.

 

Reordering is not automatically a failure. In the worked example, C overtakes B without either missing its playout point. Its effect depends on the amount of displacement, available space and deadlines. Very early arrivals can also encounter capacity limits, so “more packets received” does not always mean “more packets played”.

 

How an adaptive receiver can change the timing

 

An adaptive receiver observes arriving media and adjusts the margin it aims to maintain. It may need to increase protection during a disturbance and later reduce unnecessary waiting. The application must do this while keeping its output as usable as possible.

 

The official WebRTC NetEq documentation provides a concrete audio implementation example. NetEq analyses arrivals, manages a target delay and can accelerate or decelerate audio. It also performs concealment when suitable original data is unavailable. Its documented behaviour illustrates one implementation, rather than a promise about every conferencing product.

 

Changing timing does not have to mean stopping playback and refilling from scratch. An implementation can make smaller adjustments to the output, with the appropriate technique depending on the media and codec. Settings and limits can still constrain what the algorithm is allowed to do.

 

Audio and video synchronisation can add another requirement. Holding one stream longer may keep it aligned with the other, even when arrival variation alone would permit a smaller delay. A higher buffer reading therefore needs context before it is blamed entirely on the access connection.

 

Clock drift can matter even on a stable path

 

The sender and receiver may consume media time at slightly different rates. A small persistent mismatch can gradually drain or grow a buffer even if packet delivery variation is modest. A one-off larger allocation does not solve an indefinitely accumulating clock mismatch.

 

For an original arithmetic illustration, a 100-parts-per-million rate difference at 48,000 samples per second represents 4.8 samples per second. Over one minute that is 288 samples, equivalent to 6 ms at 48 kHz. These are chosen values describing an isolated constant mismatch, not a claim about a particular device's clock accuracy.

 

Clock tracking or controlled timing adjustment can address that trend. Distinguish a slowly accumulating mismatch from a sudden network disturbance; the symptoms and useful evidence need not be the same.

 

Read jitter-buffer statistics in the right units

 

A raw counter can be misleading if its unit and accumulation period are ignored. The W3C's WebRTC statistics specification defines jitterBufferDelay as accumulated time for emitted audio samples or video frames, measured in seconds. Dividing it by jitterBufferEmittedCount gives an average residence delay, not a packet count or instantaneous reading.

 

For a recent interval, use the differences between compatible snapshots from the same unchanged stream. The following original example uses video frames, so the emitted count is a frame count.

 

Snapshot

Accumulated delay

Emitted frames

Earlier

12 seconds

300

Later

30 seconds

600

 

The interval adds 18 seconds of accumulated frame residence time and 300 emitted frames. Dividing 18 by 300 gives 0.06 seconds, or 60 ms per emitted frame. Dividing the later lifetime totals instead gives 30 ÷ 600 = 0.05 seconds, or 50 ms. Both calculations are valid, but they describe different periods.

 

Do not divide when no additional samples or frames were emitted. Check for a restarted stream, changed identifier or reset counters before subtracting snapshots. For audio, the emitted count represents samples rather than RTP packets; substituting a packet counter changes the calculation.

 

Pair delay evidence with discards, loss, concealment and the actual symptom. A delay average alone cannot tell you whether the media sounded correct or whether occasional deadline misses were concentrated into disruptive bursts. Availability and naming of diagnostics also vary by application.

 

Diagnose the cause before changing a setting

 

An internet call that breaks up does not prove that the jitter buffer is incorrectly configured. Possible contributors include wireless contention, network queues, missing packets, device workload and the remote service. A receiver can only work with the data and processing time available to it.

 

The Latency Under Load guide is useful when problems coincide with uploads or downloads. Comparing idle and busy conditions can reveal a queueing issue that a larger media buffer would merely hide at the cost of additional delay.

 

  1. Describe the symptom. Separate gaps, distorted sound, frozen pictures, lip-sync mismatch and delayed conversation. Note the time, duration and affected direction.

  2. Identify the receiving endpoint. Establish which participant hears or sees the problem and which application, device and media stream are involved.

  3. Record the baseline. Keep the application, server region where applicable and test activity consistent. Record available timing, loss and media diagnostics over the same interval.

  4. Compare local paths. Try supported Ethernet and WiFi connections on the same device where practical. Avoid comparing several changed devices and networks at once.

  5. Compare idle and loaded conditions. Record competing uploads and downloads, including traffic from other household devices. A stable idle result does not describe a saturated connection.

  6. Check device processing. Inspect workload and supported application diagnostics. Decode or output stalls can occur after packets arrive successfully.

  7. Make one supported change. If a buffer control exists, follow the product's documented meaning and limits. Keep a record of the previous value so the change is reversible.

  8. Judge both sides of the trade-off. Repeat the same activity and compare disruption, discards and complete conversational delay. A smoother output with unacceptable waiting is not a complete solution.

 

In a UK home or small office, reliable local delivery can matter as much as the advertised access speed. Greater capacity can help a congested path, but it does not directly set the remote application's timing policy. Avoid choosing a new broadband service solely from an unexplained jitter reading.

 

Match the evidence to the next investigation

 

Observation

Useful next check

Break-up mainly during large uploads

Upstream queueing and competing traffic

Ethernet is stable while WiFi varies

Wireless conditions, contention and placement

Late discards fall but conversation becomes sluggish

The added playout delay and complete call path

Received packets look healthy but output stalls

Device processing, decoding and output queues

Buffer level drifts gradually on an otherwise steady path

Clock tracking and application timing behaviour

 

These comparisons narrow an investigation; they do not prove a cause by themselves. Preserve the evidence from the affected interval when contacting the service provider or application support team.

 

Frequently asked questions

 

Does a jitter buffer reduce ping?

 

No. It waits at the receiver to make media playback more regular. It does not shorten the network round trip, and its own waiting adds to the media path.

 

Is a bigger jitter buffer always better?

 

No. It can make some delayed packets usable, but adds waiting when the timing policy increases. The useful balance depends on the activity and the actual arrival pattern.

 

Can a jitter buffer repair packet loss?

 

It can allow time for a supported recovery mechanism to complete. It cannot reconstruct missing original content merely by holding other packets. Concealment is a substitute, not proof of exact recovery.

 

Can I configure the jitter buffer in every calling app?

 

No. Some services manage it internally and expose diagnostics rather than a manual setting. Use documented controls for the actual application instead of assuming a router option changes its media receiver.

 

Why can buffer delay rise when the network looks stable?

 

The application may be reacting to earlier conditions, maintaining audio/video alignment or managing another timing requirement. Check the metric's definition, time window and stream before assigning the cause.

 

Key takeaway

 

A jitter buffer buys useful arrival time by spending playback delay. Its value lies in delivering the right media at a usable rhythm within the task's timing needs. Measure late discards, loss, processing and complete-path delay together, then verify whether any change improves the original experience.

 

The Techie Broadband terminology guide provides the wider networking reference for understanding those measurements and their limits.

 
 
UK Techie Broadband Providers
bottom of page