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

Keep list of available formats when using HLS chunkful preparation. #6336

Open
tonihei opened this issue Aug 23, 2019 · 0 comments
Open

Keep list of available formats when using HLS chunkful preparation. #6336

tonihei opened this issue Aug 23, 2019 · 0 comments
Assignees

Comments

@tonihei
Copy link
Collaborator

tonihei commented Aug 23, 2019

[REQUIRED] Use case description

When using HLS chunkful preparation or when using a media playlist directly, we need to load at least one of the segments to determine the available formats. However, we do this for every created MediaPeriod, which is wasteful because the formats are not supposed to change if the preparation completed once.

Proposed solution

We should keep the list of tracks in the HlsMediaSource and use it for all subsequent MediaPeriods without loading a segment again. This also prevents problems like #6314 from occurring in the first place.

Alternatives considered

n/a

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

2 participants