sometimes the PLAYBACK_ENDED event is not triggered
Created by: spiterikevin
Environment
-
The MPD passes the DASH-IF Conformance Tool on http://dashif.org/conformance.html -
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://dashif.org/reference/players/javascript/ and not just on my page
- Link to playable MPD file: https://dash.akamaized.net/akamai/bbb_30fps/bbb_30fps.mpd
- Dash.js version: development branch as at 2017-08-14
- Browser name/version: Chrome 60.0.3112.90 64-bit
- OS name/version: MacOS Sierra 10.12.6
Steps to reproduce
1. Please provide clear steps to reproduce your problem Load the mpd on the reference player. Use the control bar to seek close to the end of the stream. Allow all remaining segments to be loaded in the buffer, but do not allow the player to reach the end of the video before the next seek below. Console message "[12345] Stream is complete" is displayed. Seek to a random position. Allow some short playback time. Seek close to the end of the stream. Allow the player to play out the rest of the video. 2. If the bug is intermittent, give a rough frequency if possible Always reproducible.
Observed behaviour
Describe what the player is doing that is unexpected or undesired behaviour. The PLAYBACK_ENDED event is not triggered. The reference player does not loop the video to the beginning because it does not receive the event.