{"full_name":"video-dev/hls.js","owner":"video-dev","name":"hls.js","shard":"1","url":"https://github.com/video-dev/hls.js","description":"HLS.js is a JavaScript library that plays HLS in browsers with support for MSE.","homepage":"https://hlsjs.video-dev.org/demo","topics":["hls","html5","video","mediasource","javascript","http-live-streaming","ecmascript6","stream","streaming","native-hls","video-streaming","player","hacktoberfest","hlsjs","mediasource-extensions"],"tag_pages":["hacktoberfest","hls","html5","javascript","player","streaming","video","video-streaming"],"language":"TypeScript","license":"NOASSERTION","avatar":"https://avatars.githubusercontent.com/u/25984302?v=4","created_at":"2015-01-30T09:06:27Z","pushed_at":"2026-11-15T17:30:31Z","metrics":{"stars":17053,"forks":2780,"watchers":303,"issues":3260,"prs":4766,"releases":335,"issues_open":92,"issues_closed":3168,"prs_open":39,"prs_closed":659,"prs_merged":4068,"discussions":100},"growth":{"day":{"stars":0,"forks":1,"base_day":"2026-11-15"}},"history":{"dates":["2026-11-10","2026-11-11","2026-11-12","2026-11-13","2026-11-14","2026-11-15","2026-11-16"],"stars":[17042,17045,17049,17049,17050,17053,17053],"forks":[2775,2776,2776,2776,2779,2779,2780],"watchers":[null,303,303,303,303,303,303],"issues_open":[null,89,91,92,92,92,92],"prs_open":[null,29,30,30,35,37,39]},"boards":{},"same_owner":[],"issues":[{"number":6482,"title":"Airplay streaming issue on ios","comments":16,"created_at":"2024-06-06T11:33:23Z"},{"number":6355,"title":"Setting `currentLevel` freezes rendering until next keyframe (Chrome)","comments":13,"created_at":"2024-04-15T14:25:45Z"},{"number":5881,"title":"Audio track switching does not apply immediately","comments":13,"created_at":"2023-10-05T08:56:51Z"},{"number":3179,"title":"Stream not playing on Safari but playing perfectly fine on chrome.","comments":12,"created_at":"2020-10-29T17:45:14Z"},{"number":3480,"title":"In mobile browsers, seamlessly switch video (with audio) to audio-only on screen lock/when backgrounded","comments":10,"created_at":"2021-02-13T09:34:27Z"},{"number":6294,"title":"Support delayed create of SourceBuffer","comments":9,"created_at":"2024-03-19T08:44:46Z"},{"number":5132,"title":"Missing audio in first segment","comments":9,"created_at":"2022-12-22T14:49:44Z"},{"number":8014,"title":"LG webOS playback issue with hls.js@latest, works with v1.6.15","comments":7,"created_at":"2026-08-27T05:54:05Z"}],"discussions":[{"number":8129,"title":"play all ts files","comments":1,"category":"Q&A","created_at":"2026-10-27T07:18:13Z"},{"number":8033,"title":"hevc.js — an hls.js plugin for HEVC playback on browsers without an HEVC decoder","comments":0,"category":"Show and tell","created_at":"2026-09-08T11:55:31Z"},{"number":7694,"title":"Guidance on PROGRAM-DATE-TIME drift at EXT-X-DISCONTINUITY boundaries","comments":1,"category":"Q&A","created_at":"2026-01-20T18:03:28Z"},{"number":7690,"title":"Flicker between placeholder and video playing on safari and firefox (chrome is fine)","comments":0,"category":"Q&A","created_at":"2026-01-13T21:12:09Z"},{"number":7678,"title":"Guidance on handling network-level failures and recovery strategy in hls.js","comments":1,"category":"General","created_at":"2025-12-18T07:29:49Z"},{"number":7644,"title":"Chrome 142 adds native support for m3u8 streaming.","comments":2,"category":"General","created_at":"2025-11-14T12:38:27Z"},{"number":7584,"title":"Manifest with multiple codec families","comments":0,"category":"General","created_at":"2025-10-22T08:35:45Z"},{"number":7448,"title":"Play test bandwidth fragment if the internet is slow","comments":2,"category":"Q&A","created_at":"2025-08-05T04:28:20Z"}],"latest_release":{"name":"v1.7.4","tag":"v1.7.4","published_at":"2026-10-28T18:52:16Z","body":"# Summary\r\nHLS.js v1.7.4 includes bug fixes and improvements over the last release.\r\n\r\n## Changes Since The Last Release\r\nhttps://github.com/video-dev/hls.js/compare/v1.7.3...v1.7.4\r\n\r\n## Bug fixes and improvements\r\n\r\n### Low-latency HLS\r\n\r\n- Fix skipping unloaded trailing parts at fragment boundaries (#8055) @darfink\r\n- Advance part loading once all parts of a fragment are loaded (#8134, follow-up to #8055) @robwalch\r\n- Adjust playlist position using first part start PTS (#8105, fixes #8098)\r\n- Fix repeated audio buffer flushing when setting `nextAudioTrack` during Low-Latency HLS part loading (#8104)\r\n- Fix LL-HLS subtitle stall from one-ULP rounding in final-part comparison (#8057, fixes #8051) @akashchamp\r\n\r\n### Content protection (DRM / EME)\r\n\r\n- Reuse attached `MediaKeys` across `loadSource` (#8095, fixes #8092) @krseager\r\n- Reuse attached `MediaKeys` when `loadSource` re-attaches media, and serialize `setMediaKeys` calls (#8120, fixes #8092) @matvp91\r\n  - Introduces experimental, opt-in only, `reuseKeySessions` configuration option\r\n- Keep pending `setMediaKeys` when the same keys are requested while media is detached (#8076)\r\n- FairPlay Streaming: reset `MediaKeys` when changing the MediaSource (#8131) @robwalch\r\n\r\n### Interstitials\r\n\r\n- Set a schedule position when interstitial fallback happens with nothing playing (#8088) @Arthur031221\r\n- Trigger `INTERSTITIAL_ENDED` for unresolved interstitials (empty asset-list, or removed from schedule while loading) (#8090, fixes #8082) @robwalch\r\n\r\n### Alternate audio\r\n\r\n- Prevent loop loading of audio in the next discontinuity (f86f24724) @robwalch\r\n- Complete audio track switch when switching back to the currently playing track (#8093, fixes #8089) @krseager\r\n- Defer main `BUFFER_EOS` while an alternate audio track switch is in progress (#8053) @brandonocasey\r\n\r\n### Subtitles & captions (WebVTT / IMSC1)\r\n\r\n- Keep frames in IMSC1 clock times and apply `frameRateMultiplier` (#8086) @luantaraschi\r\n- Keep the text before and between nested spans in IMSC1 cues (#8060, fixes #8069)\r\n- Fix IMSC1 and subtitle loading after interstitial media detach, including IMSC1 parsing without a known `initPTS` (#8077) @matvp91\r\n- Make subtitle-stream-controller `tracksBuffered` a sparse array (#8108, follow-up to #8077) @robwalch\r\n- Keep no-break space lines in WebVTT cues (#8061, fixes #5337) @lagudafuadtosin\r\n\r\n### Fragment loading & stream controllers\r\n\r\n- Fix bytes/bits mismatch in `isFragmentNearlyDownloaded` and handle unknown fragment length (#8097, fixes #8096) @krseager\r\n- Dispatch errors for dependent fragments to ensure reload (#8127, fixes #8118) @robwalch\r\n- Improve writing of all stream controllers' `lastCurrentTime` on tick end (#8116, follow-up to #8115)\r\n- Keep stream controllers `STOPPED` when `stopLoad()` aborts a fragment load (#8125, fixes #8119) @BeyondITL-Mossaddique\r\n- Load the start fragment again when its request is aborted before anything is buffered (#8115, fixes #8109) @b84330808\r\n\r\n### MediaSource & buffering\r\n\r\n- Mark fragments as gaps on `SourceBuffer` errors (#8045, fixes #8035) @hongjun-bae\r\n- Detach instead of resetting `MediaSource` when the media element switched to another source (#8085, fixes #8073) @lpommers\r\n- Cancel async end-of-stream operation when ended state is no longer true (#8128, fixes #8122) @robwalch\r\n\r\n### Playlist loading & parsing\r\n\r\n- Do not wait for previously loaded playlist to reload on switch unless stale (#8107, fixes #8091) @robwalch\r\n- Fix parsing of `#EXTINF` durations without digits after the decimal point (#8113, fixes #8112) @Enesuygurs\r\n- Only re-align discontinuity counts forward when merging playlists (#8048) @hongjun-bae\r\n\r\n### Demuxing, remuxing & timestamps\r\n\r\n- Fix parameter set truncation, a v1.7.0 regression introduced in a03d5b1 (#8049, fixes #8043) @robwalch\r\n- Keep the timing of later progressive chunks of a segment (#8058, fixes #6764) @lagudafuadtosin\r\n- Anchor `initPTS` on video PTS at discontinuities reached in seq","is_prerelease":false},"readme":true,"readme_zh":false,"news":[],"stale":false,"snapshot_at":"2026-11-16T09:23:14Z","history_start":"2026-09-06"}