Course contentsShow
← System Design
Lesson 1612 of 1,91939. Real-World System: Image and Video HostingFree lesson

Adaptive Bitrate Streaming (ABR)

Delivering multiple quality variants and letting clients adapt based on network conditions.

Adaptive Bitrate Streaming (ABR)

You'll learn how video streaming systems deliver smooth playback across varying network conditions by offering multiple quality options.

What Is ABR?

Adaptive Bitrate Streaming solves a fundamental problem: users have wildly different network speeds, and even the same user's bandwidth fluctuates. Instead of serving a single video file, ABR systems encode each video into multiple quality variants (called renditions) — like 360p, 720p, and 1080p — each at different bitrates. The client player monitors network conditions in real-time and seamlessly switches between these variants to maintain smooth playback without buffering.

How It Works

When you upload a video, the processing pipeline generates multiple encoded versions:

  • 1080p @ 5 Mbps for high-speed connections
  • 720p @ 2.5 Mbps for moderate bandwidth
  • 480p @ 1 Mbps for slower networks
  • 360p @ 500 Kbps for mobile/unstable connections

Each variant is split into small segments (typically 2-10 seconds). A manifest file (like an HLS .m3u8 or DASH .mpd) lists all available quality levels and their segment URLs.

The client player downloads the manifest, starts with a conservative quality, measures download speed and buffer health, then adaptively switches up or down between segments.

The Analogy

Think of ABR like a highway with multiple lanes. When traffic is clear (high bandwidth), you cruise in the fast lane (1080p). When congestion hits, you smoothly merge into slower lanes (720p → 480p) to keep moving rather than stopping completely.

Key Takeaway:
ABR delivers multiple pre-encoded quality variants and a manifest file, enabling client players to dynamically select the best quality for current network conditions, ensuring uninterrupted playback across diverse user environments.