-
Notifications
You must be signed in to change notification settings - Fork 2.6k
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
Handle #EXT-X-ENDLIST appended to live playlist without new segment #5778
Conversation
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
LGTM! We also have clear repro so will be tested before to make sure it solves the issue
The issue #5777 still reproduces with |
If the last segment is appended before the ENDLIST is published and loaded that is definitely possible. |
@semarche-kaltura, It might be worth noting that when the stream does end, because it has a sliding window, it cannot behave as a VOD in the current session since there are no segments available at |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
With 89c648f playback works as expected! 👍
@robwalch we would want have the changes as "patch" but I don't have permissions for open a PR against the "patch/v1.4.x" branch. |
89c648f
to
108315c
Compare
@robwalch I've opened PR from forked repo (base "patch/v1.4.x" branch + cherrypicked commits from "bugfix/live-append-only-endlist" branch) into "patch/v1.4.x" branch, check if everything made correct. Thanks. |
This PR will...
Treat LevelDetails as
updated
when #EXT-X-ENDLIST is appended to live playlist without new segment. Mark the corresponding segment in the previous details object withendList = true
so that the fragment-tracker can add it toendListFragments
.Why is this Pull Request needed?
endListFragments
is used to determine that everything from the playhead to the end of the playlist has been buffered so that the MediaSource and SourceBuffer(s) can be marked as ended.Are there any points in the code the reviewer needs to double check?
Resolves issues:
Fixes #5777
Checklist