Skip to content
Streaming

HLS HTTP Live Streaming

HLS (HTTP Live Streaming) is an adaptive bitrate streaming protocol developed by Apple in 2009. It works by breaking video content into small HTTP-based file segments and delivering them sequentially to the player. HLS is the most widely supported streaming protocol, compatible with virtually every device, browser, and operating system.

How HLS works

HLS divides a video into a sequence of small file segments, typically 2 to 10 seconds long, encoded at multiple quality levels. A manifest file (M3U8 playlist) acts as an index, listing all available segments and quality variants. The player downloads this manifest, evaluates the viewer's bandwidth, and selects the appropriate quality level for each segment.

  • The source video is transcoded into multiple resolutions and bitrates (e.g., 360p, 720p, 1080p)
  • Each rendition is segmented into small chunks stored on an HTTP server or CDN
  • The player downloads the M3U8 master playlist referencing all quality variants
  • During playback, the player dynamically switches between quality levels based on real-time bandwidth

HLS vs DASH

HLS and DASH (Dynamic Adaptive Streaming over HTTP) are the two dominant adaptive streaming protocols. While DASH is an international standard (ISO/IEC 23009-1), HLS has broader native device support, especially on Apple devices and in web browsers via HLS.js.

Feature HLS DASH
Developer Apple MPEG
Container fMP4 / TS fMP4 / WebM
Manifest format M3U8 MPD (XML)
Apple device support Native Requires JavaScript
Low latency LL-HLS LL-DASH
DRM support FairPlay + Widevine Widevine + PlayReady

Advantages of HLS

HLS has become the de facto standard for video streaming because of its reliability and universal compatibility.

  • Universal compatibility: works on iOS, Android, desktop browsers, smart TVs, and streaming devices
  • Adaptive bitrate: automatically adjusts quality to prevent buffering
  • CDN-friendly: standard HTTP delivery means easy caching and global distribution
  • Robust DRM support: integrates with FairPlay (Apple) and Widevine (Google)
  • Low-latency option: LL-HLS reduces live streaming delay to 2-4 seconds

How Videas uses HLS

Videas uses HLS as the primary delivery protocol for all video content. When you upload a video to Videas, it is automatically transcoded into multiple quality levels and packaged as HLS segments. The Videas player uses adaptive bitrate switching to ensure smooth playback regardless of the viewer's connection. For live events, Videas supports low-latency HLS to minimize delay between the broadcast and viewer experience.

HLS stands for HTTP Live Streaming. It is an adaptive bitrate streaming protocol developed by Apple that delivers video over standard HTTP connections.

HLS and DASH are comparable in features, but HLS has broader device support, especially on Apple devices. Most professional platforms, including Videas, use HLS as their primary protocol for maximum compatibility.

Standard HLS has a latency of 15-30 seconds. Low-Latency HLS (LL-HLS) reduces this to 2-4 seconds, making it suitable for interactive live events.

Safari supports HLS natively. Other browsers (Chrome, Firefox, Edge) support HLS through JavaScript libraries like HLS.js, which is what Videas uses for universal playback.