dash.js ignores a segment if QuotaExceedError occurs
Created by: orange4glace
Environment
-
The MPD passes the DASH-IF Conformance Tool on https://conformance.dashif.org/ -
The stream has correct Access-Control-Allow-Origin headers (CORS) -
There are no network errors such as 404s in the browser console when trying to play the stream -
The issue observed is not mentioned on https://github.com/Dash-Industry-Forum/dash.js/wiki/FAQ -
The issue occurs in the latest reference client on http://reference.dashif.org/dash.js/ and not just on my page
- Link to playable MPD file:
- Dash.js version: 3.2.1
- Browser name/version: Chromium, Tizen
- OS name/version: Tizen 3.x, 4.x, 5.x
Steps to reproduce
Make QuotaExceededError
Observed behavior
Stops playing few seconds after QuotaExceededError occurs.
Currently, if QuotaExceededError occurs on appending specific segment, it stops scheduler and clears some previous buffered ranges then starts scheduler again. The problem is when the scheduler restarts, it skips requesting a segment which was QuotaExceededErrored and continues requesting from its next segment. As a result, there will be two divided buffered ranges with missing segment between them, finally player stalls.