v1.4.0 #5381
robwalch
announced in
Announcements
v1.4.0
#5381
Replies: 0 comments
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
Summary
HLS.js v1.4.0 includes support for HLS Content Steering, EXT-X-DEFINE Variable Substitution, and preliminary support for GAP tags. An updated build process and packager provides ES module and worker script output with smaller script payloads. It also includes ABR improvements for short segments and Low-Latency HLS Parts, async
xhrSetup
support, new load policy error handling config options, and other bug fixes and enhancements.Demo Page
https://eea405db.hls-js-dev.pages.dev/
Changes Since The Last Release
New Features
Enhancements and Bug Fixes
CI and Documentation
netlify-cli
, and workaroundnpm ci
then being broken (switch to node 18, unpinnetlify-cli
, and workaroundnpm ci
then being broken #5180) @tjenkinsonAPI and Breaking Changes
New API Features and Deprecations since v1.3
Note all deprecations are soft deprecations, meaning that none of the deprecated options or attributes were removed from the runtime player. They will remain available for backwards compatibility until v2.0.
config.workerPath
to support loading of a hosted hls.worker.js script over worker injectionxhrSetup
can optionally return a Promise for async setup of XMLHttpRequest instanceserror
property of type Error which references either a caught exception or an Error object instantiated at the point of failure with a friendly error messageerrorAction
property to ERROR events, used by error-controller to resolve errors through retries and adaptive switchingstats
property to ERROR events, used to gather timing information from network errorserr
deprecated (replaced byerror
)LEVEL_PARSING_ERROR
toErrorDetails
, triggered when the playlist parser encounters invalid HLS content (Variable Substitution)FRAG_GAP
toErrorDetails
triggered when encountering a Segment or Part with a GAP tag or attribute, instead of attempting to load the media marked as unavailable. Error handling will attempt to switch renditions or jump the gap if a suitable replacement is not found.lowBufferWatchdogPeriod
as deprecated (implementation missing/removed)Upgrade Disclaimer
If you are upgrading from version v0.14.17 or lower, see the MIGRATING guide for API changes between v0.14.x and v1.0.0.
Feedback
Please provide feedback via Issues in GitHub. For more details on how to contribute to HLS.js, see our CONTRIBUTING guide.
New Contributors
Full Changelog: v1.3.5...v1.4.0
This discussion was created from the release v1.4.0.
Beta Was this translation helpful? Give feedback.
All reactions