Skip to content

reset BlacklistController after url resolution failed

Created by: jeffcunat

The use case is to be able to seek after a segment download has failed. At the moment, when this happens, an event Events.URL_RESOLUTION_FAILED is fired and stops the schedule controller. If we want to seek further to bypass a missing segment, we can not start the playing again because the base url of the segment that failed is stored in the black list controller. By resetting it after the event firing, it allows to try seeking further. Without this PR we can not seek at all after this event. So the only thing this PR changes is to at least let the client to jump over a missing segment. If needed we can add a configuration to enable/disable this feature. What do you think ?

Merge request reports