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

Skip current producer task when MediaParts is empty, in order to retry in the next fetch #602

Open
wants to merge 1 commit into
base: main
Choose a base branch
from

Conversation

qwer-lives
Copy link

I have had this happen for some livestreams (on Chzzk). Sometimes the server sends a slightly malformed playlist and the extractor is not able to parse it correctly. What currently happens is that the task crashes silently on trying to access MediaParts[0], which leaves the consumer task waiting for input forever.

This change attemps to remedy this by ignoring the malformed playlist and trying on the next fetch.

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