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

Don't fast skip last fragment #285

Closed
shaharmor opened this issue May 25, 2015 · 1 comment
Closed

Don't fast skip last fragment #285

shaharmor opened this issue May 25, 2015 · 1 comment

Comments

@shaharmor
Copy link
Contributor

Hi,

When playing HLS and reaching the end of a live stream (the last TS availbable), if there is some error (404 for example) when fetching that TS, the player starts the exponential backoff retry for that TS until skipping it when fragmentLoadMaxRetry is reached.

If there is no other TS available at this point, the timeout for the retry is not reset and thus causing the play to make a lot of requests for this TS again and again.

We should change it to work so if the current fragment is the last one available, once you reach the maximum retry timeout, stay on that timeout until the next fragment.

mangui added a commit that referenced this issue May 27, 2015
…the last fragment of a live playlist and if HLSSettings.fragmentLoadSkipAfterMaxRetry is set to true, don't skip to next fragment and keep retrying with the exponential backoff retry

related to #285
@mangui
Copy link
Owner

mangui commented May 27, 2015

@shaharmor plz recheck with latest flashls/dev, this should do the trick

@mangui mangui closed this as completed Jun 9, 2015
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

2 participants