Lably
Skip to content

Adaptive bitrate streaming

Streaming media technique

  • 13 min read
  • 6 chapters

Related on Lably

Through Computer network, HTTP and Bandwidth (computing)

While in the past most video or audio streaming technologies utilized packetized, stateful, single-bitrate streaming protocols such as RTP with RTSP, today's adaptive streaming technologies are based almost exclusively on HTTP, and are designed to work efficiently over large distributed HTTP networks.

Adaptive bitrate streaming works by detecting a user's bandwidth, CPU capability, as well as device type (such as smartphone, desktop computer, or smart TV) in real time, adjusting the quality of the media stream accordingly. It requires the use of an encoder which encodes a single source media (video or audio) at multiple bit rates. The player client switches between streaming the different encodings depending on available resources. This results in providing very little buffering, faster start times and a good experience for both high-end and low-end connections.

More specifically, adaptive bitrate streaming is a method of video streaming over HTTP where the source content is encoded at multiple bit rates. Each of the different bit rate streams are segmented into small multi-second parts. First, the client downloads a manifest file that describes the available stream segments and their respective bit rates. During stream start-up, the client usually requests the segments from the lowest bit rate stream. If the client finds that the network throughput is greater than the bit rate of the downloaded segment, then it will request a higher bit rate segment. Later, if the client finds that the network throughput has deteriorated, it will request a lower bit rate segment. An adaptive bitrate (ABR) algorithm in the client performs the key function of deciding which bit rate segments to download, based on the current state of the network. Several types of ABR algorithms are in commercial use: throughput-based algorithms use the throughput achieved in recent prior downloads for decision-making (e.g., throughput rule in dash.js), buffer-based algorithms use only the client's current buffer level (e.g., BOLA in dash.js), and hybrid algorithms combine both types of information (e.g., DYNAMIC in dash.js).

Current uses

Video streaming services that need to distribute content live or on-demand over the public Internet (also known as over-the-top media services) use adaptive bitrate technology in order to provide consumers with highest quality experience while minimizing buffering interruptions. When distributed over HTTP using content delivery networks adaptive bitrate streaming can easily be scaled to support streaming video content to millions of viewers concurrently. The world's largest streaming services, such as those operated by Netflix, Disney, NBC Universal, Warner Bros. Discovery, Apple, Google, Amazon and others, have all been actively using adaptive bit rate technology for many years now, making it standard practice for high-end streaming providers.

Sign in to keep reading

5 more chapters are free with a Lably account.

More in Computing and communication