Enhancements
- Added CEA608/708 4 channel support
- Added
renderTextTracksNatively
config options (defaults totrue
) which allows for disabling the addition of captions/subtitle TextTracks to the video element for 608/VTT tracks- Rather than a new TextTrack being added for captions and subtitles,
NON_NATIVE_TEXT_TRACKS_FOUND
andCUES_PARSED
events are emitted so that the application using hls.js can handle rendering of the track and its cue points.
- Rather than a new TextTrack being added for captions and subtitles,
- Added support for
#EXT-X-SESSION-DATA
tag in master playlist- PRs #1846 - Thank you @theifish
- Adds
sessionData
property toHls.Events.MANIFEST_LOADED
event
- Added
removeLevel()
method to API- PRs #1846
-
Remove a loaded level from the list of levels, or a level url in from a list of redundant level urls. This can be used to remove a rendition or playlist url that errors frequently from the list of levels that a user or hls.js can choose from.
- Remove unnecessary files form the NPM distribution
Bugfixes
- Fixed EME controller async error
- PRs #2552
-
Fix "Fatal: Media is encrypted but no CDM access or no keys have been obtained yet" error by using a mediaKeys promise in the "encrypted" event callback.
- Made the readme example work out of the box again
- Prevent internal exceptions with bad fragments
- PRs #2624
- Fixes an exception in a stream with an end fragment that contained only ID3 data and no valid elementary video or audio streams
Misc
- Added Timeline chart tab to the demo page
- PRs #2546
Known Issues
- The
NON_NATIVE_TEXT_TRACKS_FOUND
andCUES_PARSED
event definitions are missing from API.md and will be added in the next release