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

How to switch to lower or higher variant when ever the current selected variant encountered with "Not a valid server response code". #3964

Closed
pokuri3 opened this issue Mar 8, 2018 · 2 comments
Assignees

Comments

@pokuri3
Copy link

pokuri3 commented Mar 8, 2018

Whenever the current selected variant chunk returns 400 or 500 server response, Exoplayer trying to re-download at least 3 times and then throwing a playback error.
Is there any way to switch the playback variant whenever the current variant has encountered with bad server response or a corrupted chunk? Please suggested

@ojw28
Copy link
Contributor

ojw28 commented Mar 8, 2018

Servers probably shouldn't be providing "corrupted" chunks. They should provide valid chunks or nothing. For server response codes, we already automatically switch variant if the response code is a 404 or 410. Whether we should switch variant for other response codes is tracked by #2981.

@pokuri3
Copy link
Author

pokuri3 commented Mar 8, 2018

Thanks @ojw28 .I verified that adding blacklist variant if the server error is 404 0r 410.By adding extra response codes solving my issue.

@google google locked and limited conversation to collaborators Aug 10, 2018
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Projects
None yet
Development

No branches or pull requests

3 participants