Skip to content

Prevent exception when mapping date ranges that referenced dropped PDT #7450

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Merged
merged 2 commits into from
Aug 7, 2025

Conversation

robwalch
Copy link
Collaborator

@robwalch robwalch commented Aug 5, 2025

This PR will...

Prevent exception when merging playlists and remapping date ranges that previously references segments with program-date-time removed from the playlist

Why is this Pull Request needed?

mapDateRanges > findFragmentWithStartDate may try to access out of range segments on live update when segments with program date time mapping to a date range are removed from the playlist.

Are there any points in the code the reviewer needs to double check?

Resolves issues:

Fixes #7449

Checklist

  • changes have been done against master branch, and PR does not conflict
  • new unit / functional tests have been added (whenever applicable)
  • API or design changes are documented in API.md

@robwalch robwalch force-pushed the bugfix/live-daterange-mapping-pdt-dropped branch from b7952cd to b0d20e7 Compare August 7, 2025 01:07
@robwalch robwalch changed the title Prevent exception mapping date ranges when mapping PDT tags are dropped Prevent exception when mapping date ranges that referenced dropped PDT Aug 7, 2025
@robwalch robwalch merged commit a37db2f into master Aug 7, 2025
16 checks passed
@robwalch robwalch deleted the bugfix/live-daterange-mapping-pdt-dropped branch August 7, 2025 02:19
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
Development

Successfully merging this pull request may close these issues.

Reading undefined when rolling out content from playlist with _HLS_skip
1 participant