-
Notifications
You must be signed in to change notification settings - Fork 425
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
fix: Clear the blacklist for other playlists if final rendition errors #396
Conversation
src/master-playlist-controller.js
Outdated
videojs.log.warn('Removing all playlists from the blacklist because the last ' + | ||
'rendition is about to be blacklisted.'); | ||
playlists.forEach((playlist) => { | ||
delete playlist.excludeUntil; |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I think this was a bug from the original PR, but we need to check to ensure we don't clear incompatible playlists from the blacklist (where excludeUntil
=== Infinity
).
Good to go once we ignore |
…sts on final playlist
Not sure why the test for commit f805916 is showing as passed, it failed as you can see here: https://travis-ci.org/videojs/http-streaming/builds/514306305#L2492. However, it's supposed to fail to show that the test works as expected. The build for the fix commit (b37e4fc) is here: https://travis-ci.org/videojs/http-streaming/builds/514308525. |
Lastest build passes: https://travis-ci.org/videojs/http-streaming/builds/514317942 |
Looks good to me |
#396) Ignore unsupported renditions (those with an excludeUntil of Infinity)
videojs/videojs-contrib-hls#1083
Description
Before the behavior is we never blacklist the final request and wait up to 5 minutes for other playlists' blacklist duration to be cleared. Change the behavior as follows:
Requirements Checklist