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

Two CRITICAL errors reported in a row #5150

Closed
cristian-atehortua opened this issue Apr 13, 2023 · 1 comment · Fixed by #5057
Closed

Two CRITICAL errors reported in a row #5150

cristian-atehortua opened this issue Apr 13, 2023 · 1 comment · Fixed by #5057
Labels
status: archived Archived and locked; will not be updated type: bug Something isn't working correctly
Milestone

Comments

@cristian-atehortua
Copy link
Contributor

Have you read the FAQ and checked for duplicate open issues?
Yes

What version of Shaka Player are you using?
4.3.5

Can you reproduce the issue with our latest release version?
Yes

Can you reproduce the issue with the latest code from main?
Yes

Are you using the demo app or your own custom app?
Demo

If custom app, can you reproduce the issue using our demo app?
Yes

What browser and OS are you using?
Chrome Version 112.0.5615.49 (Official Build) (64-bit)
Ubuntu 20.04.6 LTS

For embedded devices (smart TVs, etc.), what model and firmware version are you using?
N/A (But should be also replicable)

What are the manifest and license server URIs?

https://storage.googleapis.com/shaka-demo-assets/bbb-dark-truths-hls/hls.m3u8

What configuration are you using? What is the output of player.getConfiguration()?

Default in DEMO app

What did you do?

  1. Play the content
  2. Block all segments request (For the content above, put this url storage.googleapis.com/shaka-demo-assets/bbb-dark-truths-hls/v-*p-*k-libx264-s*.mp4 to be blocked in Chrome DevTools)
  3. Wait for a little

What did you expect to happen?
The playback crashes with a SINGLE error after trying to select all variants.

What actually happened?

The playback crashes throwing two errors:
4012 - RESTICTIONS_CANNOT_BE_MET
1002 - HTTP_ERROR

This looks like is happening because, on the recovery logic that Shaka has when an error is detected, when there are no more variants to select, the player throws the first error (because there are no selectable variants) but the function that tries to recover returns false when no variant is found, causing the original error to be also forwarded to applications.

@cristian-atehortua cristian-atehortua added the type: bug Something isn't working correctly label Apr 13, 2023
@github-actions github-actions bot added this to the v4.4 milestone Apr 13, 2023
@zangue
Copy link
Contributor

zangue commented Apr 17, 2023

I think this also relates to #5055 and should be fixed in #5057

@avelad avelad closed this as completed in fdc5cb1 Apr 18, 2023
@github-actions github-actions bot added the status: archived Archived and locked; will not be updated label Jun 17, 2023
@github-actions github-actions bot locked as resolved and limited conversation to collaborators Jun 17, 2023
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
status: archived Archived and locked; will not be updated type: bug Something isn't working correctly
Projects
None yet
Development

Successfully merging a pull request may close this issue.

2 participants