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

Temporarily disable streams on error #4121

Closed
albertdaurell opened this issue Apr 12, 2022 · 4 comments · Fixed by #4189 or #4235
Closed

Temporarily disable streams on error #4121

albertdaurell opened this issue Apr 12, 2022 · 4 comments · Fixed by #4189 or #4235
Assignees
Labels
priority: P3 Useful but not urgent status: archived Archived and locked; will not be updated type: enhancement New feature or request
Milestone

Comments

@albertdaurell
Copy link
Contributor

albertdaurell commented Apr 12, 2022

Hi all, while testing DASH contents, for example Big Buck Bunny: the Dark Truths of a Video Dev Cartoon (DASH) if you block network requests for a quality https://storage.googleapis.com/shaka-demo-assets/bbb-dark-truths/v-0720p-2500k-libx264.mp4 in order to simulate a CDN error but only for a video quality:

    

The player does not try to switch to another quality when streaming.retryParameters.maxAttempts limit is reached.

  1. Is there a setting to request the player to switch to another quality when maxAttempts limit is reached
  2. Is there a way to remove/disable a variant when HTTP_ERROR is thrown?

Thank you very much

@albertdaurell albertdaurell added the type: question A question from the community label Apr 12, 2022
@joeyparrish
Copy link
Member

We don't do that automatically, but it could be possible in a future version. Today AbrManager chooses tracks, but not based on errors. Ideally, we could ban (permanently or temporarily) a track with too many errors. This is discussed in #1542

@albertdaurell
Copy link
Contributor Author

albertdaurell commented Apr 14, 2022

Hi @joeyparrish thanks for your quick response. I've been reading #1542 and... I started doing a POC ( seems working ok ) about how can this issue be addressed... but since I'm newbie with shaka... maybe this is not the correct way to proceed. I was wondering if you can do a quick "CR" in order to give me some feedback in order to know if I'm totally lost and this code changes are "trash" or... I'm in the correct path:

main...albertdaurell:feature/temporarily-disable-variants-on-error

@albertdaurell albertdaurell reopened this Apr 14, 2022
@avelad
Copy link
Collaborator

avelad commented May 3, 2022

@albertdaurell Your idea seems good and it seems that it may be related to #2541, are you interested in submitting a PR?

@avelad avelad added the status: waiting on response Waiting on a response from the reporter(s) of the issue label May 3, 2022
@albertdaurell
Copy link
Contributor Author

I'll give a try... created! Thx!

@github-actions github-actions bot removed the status: waiting on response Waiting on a response from the reporter(s) of the issue label May 3, 2022
@joeyparrish joeyparrish added type: enhancement New feature or request and removed type: question A question from the community labels May 5, 2022
@joeyparrish joeyparrish added the priority: P3 Useful but not urgent label May 5, 2022
@joeyparrish joeyparrish changed the title Issue while blocking chunk network requests Temporarily disable streams on error May 5, 2022
@avelad avelad added this to the v4.1 milestone May 5, 2022
@github-actions github-actions bot added the status: archived Archived and locked; will not be updated label Jul 4, 2022
@github-actions github-actions bot locked as resolved and limited conversation to collaborators Jul 4, 2022
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
priority: P3 Useful but not urgent status: archived Archived and locked; will not be updated type: enhancement New feature or request
Projects
None yet
3 participants