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

Download segments only when requested #2

Open
dmorn opened this issue Nov 2, 2022 · 0 comments
Open

Download segments only when requested #2

dmorn opened this issue Nov 2, 2022 · 0 comments

Comments

@dmorn
Copy link
Member

dmorn commented Nov 2, 2022

Right now as soon as a segment message is received the element will immediately
schedule its download. In case of an m3u8 playlist which is already a VOD (all
segments are immediately available), this causes the whole video to be loaded
into memory.

Keep instead a bounded buffer of ready segments, schedule downloads based on
the demand.

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

No branches or pull requests

1 participant