dash.js 2.6.8+ : playback regression after changes in BufferController::appendToBuffer
Created by: fvalleeHbbTV
Environment
- [] The MPD passes the DASH-IF Conformance Tool on http://dashif.org/conformance.html Test cannot pass conformance due to unknown
-
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: 2.6.8+
- Browser name/version:
- OS name/version:
Steps to reproduce
I don't think it can be reproduced easily using the ref player as the stream is using DRMs (clearkey).
(some context) The page http://app.10ft.itv.com/1.31.7/eos/index.html contains several dash stream. As it is meant to be browsed by hbbtv devices, the page is NOT using dash.js (= expect native browser dash support). In DVB-DASH -> Lorraine ClearKey with ads, the stream used to work fine using dash.js 2.6.7 but we experience playback issues using 2.6.8, 2.7.0 and development.
Observed behaviour
Dash.js suddenly starts to crazy download audio segments then we get QuotaExceededError and playback is stalled (occurs after 2~10 minutes).
I tracked down the regression and figured out it comes from BufferController.js If I revert to the previous appendToBuffer implementation (using the one from dash.js 2.6.7), then playback stalling issue cannot be reproduced.