fix(deps): update dependency hls.js to ^1.6.0#326
Merged
renovate[bot] merged 1 commit intomainfrom Apr 4, 2025
Merged
Conversation
ae136ef to
aef701f
Compare
aef701f to
42b97a3
Compare
|
Contributor
|
🎉 This PR is included in version 0.28.0 🎉 The release is available on GitHub release Your semantic-release bot 📦🚀 |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.



This PR contains the following updates:
^1.5.20->^1.6.0Release Notes
video-dev/hls.js (hls.js)
v1.6.0Compare Source
Summary
HLS.js v1.6.0 introduces support for HLS Interstitials with new API features, media support, and playback enhancements.
New features in release version 1.6
enableEmsgKLVMetadatatotrueto enable) (#6674) @glyndAPI changes in release version 1.6
config.detectStallWithCurrentTimeMsconfig.nudgeOnVideoHoleconfig.enableInterstitialPlaybackset to false to disable Interstitial playback without turning off Interstitials parsing and eventsconfig.interstitialsControllerset tonullto disable Interstitials support completelyconfig.interstitialAssetListLoadPolicydefines the loading policy of X-ASSET-LIST JSONconfig.liveSyncOnStallIncrease(#6455) @vk342config.maxDevicePixelRatioto limit browser value when capping level to media element dimensions (#6825) @signalwerkconfig.videoPreference.videoCodecvideo codec selection preference option (#6483)config.primarySessionIdidentifies the parent player session that spawned the asset player (read fromhls.sessionId)config.assetPlayerIdidentifies logs from asset playersconfig.timelineOffsetoffsets MSE appends for gapless playbackconfig.fetchSetupoptional async result (#6714) @zcehls.bufferedToEndread-only indicates when EOS has been appended (media is buffered from currentTime to end of stream)hls.bufferingEnabledread-only flag toggled withpauseBuffering()andresumeBuffering()hls.hasEnoughToStartgetter returns whether enough is buffered to seek to start position (#6571)hls.inFlightFragmentshls.interstitialsManagerread-onlyInterstitialsManagerornull. TheInterstitialsManageris an interface for accessing program information and methods for seeking across items and skipping Interstitials.hls.latestLevelDetailsread-onlyLevelDetailsobject of the most up-to-date HLS variant Playlist datahls.loadLevelObjread-onlyLevelobject of selected level (variant) ornullhls.loadingEnabledread-only flag toggled withhls.startLoad()andhls.stopLoad()hls.pathwayPriorityContent-Steering setting (#6295) @PavelFomin90hls.pathwaysgetter (#6997) @grabofushls.sessionIdread-onlyHlsinstance UUID - used to assign a value to the _HLS_primary_id query parameter of interstitial requestshls.startPositionread-only the resolvedstartPositionthat playback will begin at once media is appendedhls.targetLatency(#6473) @vk342hls.transferMedia()detaches and returns MediaSource and SourceBuffers non-destructivelyhls.urlread-only value of the currently playing url (fromhls.loadSource(url)) (#6411) @iboboEvents.MEDIA_ENDEDevent (#6141)Events.EVENT_CUE_ENTER(for internal use)levelInfo: LeveltoLevelLoadingDataandLevelLoadedDataevent datatrack: MediaPlaylisttoTrackLoadingDataandTrackLoadedDataevent data (audio and subtitle events)withoutMultiVariant: booleantoLevelLoadedDataeventLevelDetais.expiredread-only indicates live playlist data is no longer valid for fragment loadingLevelDetais.requestScheduledto improve live playlist reload schedulingFragment.bitrateandFragment.byteLengthgettersFragmentproperties have been replaced with accessors:get baseurl(),get/set stats(),get/set programDateTime(). Class property accessors are not enumerable. This impacts copying object properties and serialization.Fragment.statsremain enumerable with (#6999)hls.startLoad()takes a second optional argument to skip seeking on start (otherwise, HLS.js seeks following to the first optionalstartPositionargument on append)hls.attachMedia()supports transferring MediaSource and SourceBuffers fromHlsinstances withhls.transferMedia()hls.recoverMediaError()seeks to the value ofcurrentTimebefore the source reset is performed (#6297)ASSET_LIST_LOADINGwhen a request is made for an X-ASSET-LIST JSON objectASSET_LIST_LOADEDwhen a response is received for an X-ASSET-LIST JSON objectINTERSTITIALS_UPDATEDwhen Interstitials are added, removed, or the schedule is updated following a variant playlist update or updated asset durations from X-ASSET-LIST JSON or asset playlist and media parsingINTERSTITIALS_BUFFERED_TO_BOUNDARYwhen the forward buffer reaches the boundary of the following schedule item (Interstitial event or primary segment)INTERSTITIAL_ASSET_PLAYER_CREATEDwhen an asset player instance is created to stream an Interstitial asset (will always be before attaching media to the asset player)INTERSTITIAL_STARTEDwhen streaming of an Interstitial event containing one or more assets has begun (may occur before X-ASSET-LIST JSON is loaded or playback has started)INTERSTITIAL_ENDEDwhen streaming of an Interstitial event containing one or more assets has ended - before resuming primary or starting the next eventINTERSTITIAL_ASSET_STARTEDwhen streaming of an Interstitial asset has begun (following the beginning of the event or the end of the last asset)INTERSTITIAL_ASSET_ENDEDwhen streaming of an Interstitial asset has ended (before the next asset or the event ending)INTERSTITIAL_ASSET_ERRORwhen an error occurs starting or streaming an Interstitial asset (this can include non-fatal errors such as stalling and errors that will end streaming of the asset, resulting in the schedule advancing to the next asset or fallback to primary)INTERSTITIALS_PRIMARY_RESUMEDwhen playback of primary content has begun or resumed from an Interstitial eventBUFFERED_TO_ENDwhen the last audio and video segments in the playlist have been appended (EOS signaled on all SourceBuffers)AUDIO_TRACK_UPDATEDsimilar to LEVEL_UPDATED fired for any update to audio group playlistsSUBTITLE_TRACK_UPDATEDsimilar to LEVEL_UPDATED fired for any update to subtitle group playlistsMEDIA_ATTACHING,MEDIA_ATTACHED,MEDIA_DETACHING, andMEDIA_DETACHEDinclude additional information (depending on whether media is being transferred)Type:
NETWORK_ERRORASSET_LIST_LOAD_ERRORnetwork error loading asset listASSET_LIST_LOAD_TIMEOUTnetwork timeout error loading asset listASSET_LIST_PARSING_ERRORasset list was not valid JSON or missing required dataType:
OTHER_ERRORINTERSTITIAL_ASSET_ITEM_ERRORan issue interrupted or prevented asset playback. This will result in skipping the remainder of the asset or falling back to primary content. The eventerrorwill contain more details. This type of error differs from theINTERSTITIAL_ASSET_ERRORevents forwarded from asset player errors.ATTACH_MEDIA_ERRORwhen callingattachMediawith falseymediaargument (#6556) @agajassiKEY_SYSTEM_DESTROY_CLOSE_SESSION_ERRORKEY_SYSTEM_DESTROY_MEDIA_KEYS_ERRORKEY_SYSTEM_DESTROY_REMOVE_SESSION_ERROREnhancements
ManagedMediaSource"endstreaming" events without aborting requests (#6186) @robwalch_HLS_skipparam based on age of last playlist request (#6300) @mcintyrehhremuxEmptyAudio(#6534) @robwalchProject exports
XhrLoader,FetchLoader,Cues,Events,ErrorTypes,ErrorDetails,Level,SubtitleStreamController,KeySystems,KeySystemFormats,fetchSupported,requestMediaKeySystemAccessES Modules (#6733) @robwalchM3U8ParserES Modules (#7132) @Acconutlightversion (#6925) @denisxBug Fixes
xhrSetupcallback (#6459) @xtasetMediaKeysreturn undefined in some browers (#6669) @JackPusetAudioOptionskips track selection at index 0 (#6775) @matvp91autoStartLoad(#6893) @robwalchDocumentation
ManagedMediaSourcesupport (#6202) @Felix212capLevelToPlayerSize(#6384) @andreashermannremoveLevel(#6267) @PavelFomin90includeKeys(#6174) @robwalchmaxBufferHoledefault (#6578) @robwalchCI
API and breaking changes
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.
If upgrading from version v1.3.x or lower, the introduction of ESM exports may require changes to hls.js import statements and WebWorker setup to achieve comparable performance (https://github.com/video-dev/hls.js/issues/7106#issuecomment-2737860461).
Feedback
Please provide feedback via Issues in GitHub. For more details on how to contribute to HLS.js, see our CONTRIBUTING guide.
Configuration
📅 Schedule: Branch creation - "before 5am" in timezone Europe/Berlin, Automerge - At any time (no schedule defined).
🚦 Automerge: Enabled.
♻ Rebasing: Whenever PR is behind base branch, or you tick the rebase/retry checkbox.
🔕 Ignore: Close this PR and you won't be reminded about this update again.
This PR was generated by Mend Renovate. View the repository job log.