video-dev/hls.js
HLS.js is a JavaScript library that plays HLS in browsers with support for MSE. observed · 2026-08-28
Health v2 · maintenance only
99/100
- Activity 99
- Release rhythm 98
- Longevity 100
Flags: no_license
How is this computed?
round(0.45*activity + 0.35*rhythm + 0.20*longevity); archived -> min(score, 10) — computed 2026-09-02. Adoption (stars, forks) is never an input.
- gap_med: 10.5
- age_days: 4233
- days_rel: 14
- days_push: 8
- n_releases_24m: 27
Adoption not part of the score
16899 stars · 2751 forks observed · 2026-08-28
What it is AI-extracted, prompt v1, taxonomy v1, 2026-08-29, confidence not recorded
HLS.js is a JavaScript/TypeScript library that implements an HTTP Live Streaming (HLS) client for browsers, relying on HTML5 video and MediaSource Extensions. It transmuxes MPEG-2 TS and AAC/MP3 streams into ISO BMFF (MP4) fragments asynchronously via a Web Worker, supporting VOD, live, DVR, and Low-Latency HLS playback.
Use cases
- play HLS streams in browsers without native HLS support
- build a custom web video player with adaptive bitrate streaming
- play back live streams with DVR and low-latency HLS
- transmux MPEG-2 TS segments to fMP4 in the browser
- support HEVC, AV1, and Dolby Vision playback where the browser allows
- test and debug HLS stream playback in Chrome, Firefox, Edge, and Safari
When to choose
- you need HLS playback in browsers lacking native HLS support (Chrome, Firefox, Edge)
- you want fine-grained control over quality levels, audio tracks, and error recovery
- you need low-latency or DVR live streaming in a web app
- you want a dependency-free library that works on a standard <video> element
When to avoid
- you only target Safari or iOS, which have native HLS playback
- you need DASH or other non-HLS streaming formats
- you need a full-featured player UI out of the box rather than a playback engine
- your target environment lacks MediaSource Extensions support
Facets
library · maturity stable
video-processing streaming media web-development browser cross-platform hls mediasource-extensions video-player adaptive-streaming transmuxing mpeg-ts fmp4 low-latency-hls video web-server
2 sources
- readme: https://github.com/video-dev/hls.js · fetched 2026-08-28 · dda17a8cfe9c
- homepage: https://hlsjs.video-dev.org/demo · fetched 2026-08-29 · 4059ba0a8e0d
Member repositories
| Repository | Role | Health v2 |
|---|---|---|
| video-dev/hls.js | main | 99 |
For agents
markdown · JSON · MCP: product_card(name="video-dev/hls.js")
Data as of 2026-08-30T08:39:29.467469+00:00 · Report a problem