Skip to content

Restart ScheduleController once buffer is pruned only after QuotaExceedeError

Created by: bbert

In ScheduleController there is a mechanism to restart the scheduler once buffer has been pruned in case of QuotaExceededError. But scheduler may have been stopped for some other reasons/errors, for example if BaseURL resolution failed (after a segment download error for example). And since there is a buffer pruning timer (every 10sec by default, see bufferPruningInterval parameter) then the scheduler was also restarted in this case, which is not the desired behavior. We want the scheduler to restart automatically only after QuotaExceedeError.

This PR fixes this issue.

Merge request reports