# Jitter

> The Jitter is the variation in delay between packets arriving over a network.

## What is jitter in networking?

The variation in the time packets take to arrive. Even with low average latency, high jitter makes audio choppy and video stutter. Real-time apps use a jitter buffer that briefly holds packets to play them evenly.

- Topic: Real-Time Communication
- Type: concept

## Common mistakes

- Measuring only average latency and ignoring its variation.

## Key points

- Audio playback code buffers incoming chunks instead of playing each one the moment it arrives.
- Real-time audio and video go over UDP-based transports such as WebRTC, not over plain TCP polling.

## Interview questions

### What is the difference between jitter and latency?

Latency is how long a packet takes to arrive. Jitter is how much that time varies from one packet to the next.

### What jitter value is acceptable for calls?

A common guideline is under about 30 ms. Higher values need a larger jitter buffer, which adds delay.

### How do I measure jitter in WebRTC?

Call `RTCPeerConnection.getStats()` and read `jitter`, in seconds, from the 'inbound-rtp' report.

## Related cards

- [Real-Time Communication](https://wonderium.dev/web/real-time-communication.md)
- [UDP](https://wonderium.dev/web/udp.md)
- [WebRTC](https://wonderium.dev/web/webrtc.md)

---

- Level: [Web Platform](https://wonderium.dev/web.md)
- HTML version: https://wonderium.dev/web/jitter
- Last updated: 2026-11-25
