Skip to content
Return to subject index

Technical Atlas

Streaming / HLS

HTTP Live Streaming

HLS gives a player several ways to play the same programme. Understanding what the player actually requests makes a material difference to a CDN capacity estimate.

Editorial review ·

Operating principle

A multivariant playlist advertises the available streams. For the stream it selects, the player reads a media playlist and retrieves successive segments over HTTP. A live playlist changes as the packager publishes new segments.

BANDWIDTH declares the highest combined peak segment bitrate of any playable rendition combination. For a live stream whose segments have yet to be encoded, estimate it from representative content encoded with the same settings. A viewer generally receives one selected video rendition and its associated audio. For aggregate edge demand, use the measured mix of delivered bitrates across the audience.

Rendition bitrate · Mb/s Illustrative HLS rendition switches Over 48 seconds the selected bitrate rises from 3 to 6 megabits per second, falls to 1.5, then returns to 3. The dashed line shows a hypothetical throughput estimate. 1.536 0 s24 s48 s
Illustrative playback over twelve four-second segments. The selected rendition changes at segment boundaries as estimated throughput falls and recovers.

Where it fits

HLS sits between an HTTP packager or origin and a compatible playback client. Use it for OTT live channels, event streaming and video on demand. Upstream contribution, packaging and edge delivery each have their own capacity and resilience requirements.

Advantages and limitations

Advantages. HTTP delivery lets segments be cached at the edge. Multiple renditions let clients adapt to changing network conditions and device capabilities.

Limitations. Live delay includes encoding, packaging, publication and player buffering. A larger rendition ladder adds encoding, quality-control and storage work. A latency commitment needs a device, workload and measurement boundary.

Maturity

The base protocol is documented in RFC 8216 (2017). Apple maintains additional authoring requirements for its devices. For a tender, specify the target features and client versions, particularly for low-latency delivery and content protection.

Procurement checks

  • Establish the playback matrix.Record devices, OS versions, codecs, audio tracks, subtitles and protection profiles. Exercise representative combinations on actual devices.
  • Test a live switch.Introduce a controlled throughput drop and recovery. Inspect the segment timeline alongside the player log for switching delay, stalls, discontinuities and audio continuity.
  • Specify the load boundary.Separate viewer-facing edge egress from origin traffic. Use the byte cache-hit ratio to estimate how much media traffic is offloaded from the origin. A request hit ratio weights small and large objects equally. The delivered bytes still cross the edge toward the viewer.

Edge egress estimate

Estimate the aggregate media rate leaving a unicast CDN edge for a live audience. Use the audience-weighted average delivered bitrate, including audio and container overhead.

Planned edge capacity54 Gb/s

Viewers × Mb/s per viewer × (1 + extra capacity / 100) ÷ 1,000 = Gb/s

The margin is added to mean media demand. Model protocol overhead, retries, regional imbalance and failover separately for a committed capacity figure. Units are decimal.

Primary sources