Generated by GPT-5-mini| HLS (HTTP Live Streaming) | |
|---|---|
| Name | HLS |
| Developer | Apple Inc. |
| Introduced | 2009 |
| Latest release | 2019 (RFC 8216) |
| Type | adaptive bitrate streaming |
| Transport | HTTP |
HLS (HTTP Live Streaming) is an adaptive bitrate media streaming communications protocol originally developed by Apple Inc. for delivering audiovisual content over Hypertext Transfer Protocol connections. It segments media into small file chunks and uses playlists to enable clients to adapt to network conditions and device capabilities; its design influenced online delivery in Netflix, YouTube, Hulu and broadcast workflows used by broadcasters such as the BBC and NPR. The protocol was standardized as RFC 8216 and is widely implemented across servers, CDNs and client platforms including devices from Apple Inc., Samsung Electronics, Roku, Inc., and smart televisions from Sony Corporation and LG Electronics.
HLS uses Hypertext Transfer Protocol for transport and a playlist manifest format derived from MPEG-2 Program Stream concepts to describe a sequence of media segments; clients fetch an initial playlist and then download segments from web servers or CDNs operated by Akamai Technologies, Cloudflare, Amazon Web Services or Fastly, Inc.. Implementations interoperate with encoder ecosystems from Adobe Systems, FFmpeg, x264 and hardware encoders by Harris Corporation and Harmonic Inc.. The format gained traction in streaming live events like the Super Bowl and major music festivals organized by Live Nation and Coachella Valley Music and Arts Festival.
HLS was introduced by Apple Inc. in 2009 to support streaming to iPhone and later iPad devices; it evolved alongside proprietary formats from Microsoft Corporation (Smooth Streaming) and Adobe Systems (RTMP/HTTP Dynamic Streaming). The protocol was revised during collaborations among industry stakeholders including IETF contributors, culminating in the publication of RFC 8216; companies such as Akamai Technologies, Disney Streaming Services, Hulu, Netflix and YouTube participated in ecosystem development and testing. Adoption accelerated as major content owners—BBC, CNN, Fox Broadcasting Company—transitioned from legacy multicast and satellite playout to IP-based delivery for events like the FIFA World Cup and Olympic Games.
HLS architecture centers on a media playlist (master and variant manifests) and segmented media files; the master playlist references variant streams encoded at different bitrates and resolutions, enabling adaptive selection similar to DASH strategies used by DVB Project members. Segments are commonly delivered as MPEG-2 Transport Stream or fragmented ISO Base Media File Format files stored on web servers run by NGINX, Inc. or Apache HTTP Server and cached by CDNs like Akamai Technologies and Amazon CloudFront. Control features include timed metadata (ID3 frames) used by broadcasters like NPR and program guides from EPG providers, as well as program-date-time tags for synchronization with external systems such as UTC-synchronized playout.
HLS originally used MPEG-2 Part 1 Systems (MPEG-TS) segments carrying video codecs like H.264 and audio codecs like AAC. Later revisions standardized support for fragmented ISO Base Media File Format (fMP4) enabling codec interoperability with DASH and facilitating HEVC (H.265) and AV1 deployments pursued by Netflix and Amazon Prime Video. Subtitle and caption formats supported in playlists include WebVTT used by W3C-compliant players and 608/708 captions required by broadcasters like Nielsen Holdings and regulatory bodies such as the FCC.
HLS implements adaptive bitrate streaming via master playlists referencing multiple variant playlists, each listing sequential media segments; clients monitor download throughput and buffer occupancy to switch among variants, a behavior similar to algorithms in DASH players used by Spotify for audio. Playlists may include EXT-X-TARGETDURATION, EXT-X-KEY and EXT-X-MAP tags which interact with packaging solutions from vendors like Wowza Media Systems and Bitmovin. For live streaming, sliding-window playlists are used for low-latency strategies championed by industry groups such as Low Latency Streaming Forum and initiatives from Apple Inc. to reduce glass-to-glass delay for events like the UEFA Champions League.
Server-side packaging is available from open-source projects like FFmpeg and Shaka Packager and commercial packagers from Akamai Technologies, Wowza Media Systems, Harmonic Inc. and AWS Elemental. Origin servers often integrate with workflow orchestration from Grass Valley, playout systems by EVS Broadcast Equipment and contribution encoders from Haivision. CDN integration (for example with Akamai Technologies and Amazon CloudFront) is critical for scale during launches and broadcasts such as Apple Special Event livestreams and large OTT platform premieres by Netflix.
Native HLS support exists in Safari and iOS devices from Apple Inc., while other browsers rely on media-source extensions and JavaScript players like video.js, hls.js, and commercial players from THEO Technologies and Bitmovin. Smart TV platforms from Samsung Electronics, LG Electronics, and set-top boxes from Roku, Inc. implement hardware-accelerated HLS decoders for formats such as H.264 and HEVC. Playback behavior includes heuristics for buffer underrun recovery, variant switching, low-latency tuning and start-up optimization observed in apps from YouTube, Hulu, and Disney+.
HLS supports encryption via AES-128 segment encryption and SAMPLE-AES; DRM integrations commonly use FairPlay Streaming from Apple Inc., Widevine from Google LLC, and PlayReady from Microsoft Corporation to protect premium content on services like Netflix, Amazon Prime Video and HBO. Licensing and compliance considerations involve content owners such as Warner Bros. Discovery, The Walt Disney Company and sports rights holders like FIFA; authentication and tokenization often integrate with identity providers like Auth0 and access control systems used by broadcasters like BBC.
Category:Streaming protocols