Open bitboxer opened 8 months ago
Sadly I cannot open the reference page because it's a set-top-box
@dsilhavy would love to get a hint how I could debug this or figure out a bugfix for this.
It looks like the buffer is not fully filled until the very end. What values do you get when you pause playback shortly before the end and query the buffer level?
var vid = document.querySelector('video')
vid.buffered.start(0)
625.664
vid.buffered.end(0)
634.566666
For further debugging also try to disable gap jumping and check if the ended event is fired then or if the player stays in waiting state: https://cdn.dashjs.org/latest/jsdoc/module-Settings.html#~Gaps
Environment
[X] The MPD passes the DASH-IF Conformance Tool on https://conformance.dashif.org/
[X] The stream has correct Access-Control-Allow-Origin headers (CORS)
[X] There are no network errors such as 404s in the browser console when trying to play the stream
[X] 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: https://dash.akamaized.net/akamai/bbb_30fps/bbb_30fps.mpd
Dash.js version: v4.7.4
Browser name/version: Settop box
OS name/version: -
Steps to reproduce
Observed behavior
As seen in the log output, the
playbackEnded
is never fired, instead you see that theGapController
tries to seek to a position close to the end and then tries to play from there. Somehow this set top box does not like that.Console output
Expected behavior
The player fires a
playbackEnded
-Event.I can help to debug this issue, but currently I am not sure what the role of the
GapController
is in here.