Skip to content
This repository has been archived by the owner on Jan 12, 2019. It is now read-only.

Trigger an event when the final playlist would have been blacklisted #1080

Merged

Conversation

zhuangs
Copy link
Contributor

@zhuangs zhuangs commented Apr 11, 2017

Description

Trigger an event when the final playlist would've been blacklisted
Might be a solution for #1074

@zhuangs zhuangs force-pushed the feature/trigger-event-when-finalPlaylist-error branch from cba6b68 to caa0abd Compare April 11, 2017 22:24
@@ -1135,6 +1143,7 @@ QUnit.test('playlist 404 should blacklist media', function(assert) {
assert.equal(this.env.log.warn.args[1],
'Problem encountered with the current HLS playlist. Trying again since it is the final playlist.',
'log specific error message for final playlist');
assert.equal(retryplaylist, 1, 'retried final playlist for once');
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I think you should add a check here to make sure blacklistplaylist is still 1

@mjneil mjneil merged commit 0c1217a into videojs:master Apr 18, 2017
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants