Skip to content
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

Use last discontinuity bounds when aligning playlists on PDT #5681

Merged
merged 1 commit into from
Jul 28, 2023

Conversation

robwalch
Copy link
Collaborator

@robwalch robwalch commented Jul 18, 2023

This PR will...

Use last discontinuity bounds when aligning playlists on PDT.
Realigns audio playlist when waiting for initPTS, and removes redundant alignPDT method.

Why is this Pull Request needed?

Ensures proper alignment of live streams which do not carry contiguous PDT values across discontinuities.

When the middle reference fragments from the audio and main playlists do not share the same discontinuity sequence, this method could fail to align the playlists correctly because of differences in the PDT between segments.

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

Resolves issues:

Checklist

  • changes have been done against master branch, and PR does not conflict
  • new unit / functional tests have been added (whenever applicable)

@robwalch robwalch added this to the 1.5.0 milestone Jul 18, 2023
@robwalch robwalch force-pushed the bugfix/align-pdt-disco-bounds branch 2 times, most recently from 02690de to 30187bc Compare July 21, 2023 22:38
Realign audio playlist when waiting for initPTS
Deprecate redundant align PDT method
@robwalch robwalch force-pushed the bugfix/align-pdt-disco-bounds branch from 30187bc to 3f9cbf4 Compare July 21, 2023 22:41
@robwalch robwalch requested review from cjpillsbury and erankor July 21, 2023 22:42
@robwalch
Copy link
Collaborator Author

@robwalch robwalch merged commit 909f9b3 into master Jul 28, 2023
@robwalch robwalch deleted the bugfix/align-pdt-disco-bounds branch July 28, 2023 01:59
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant