Crash after removal of passed period for live multi-period MPD
Created by: TobbeMobiTV
I've created a live multi-period test source. It has a configurable number of periods per hour. The url http://vm2.dashif.org/livesim/periods_60/testpic_2s/Manifest.mpd gives 60 periods per hour, i.e. a new period ever minute. The source starts up nicely, and the content plays over the first period boundary. However, the player crashes some time after the first period (which has passed) is being removed in a later MPD update.
The player stops in DashHandler.js line 833 at:
if (index === -1) {
throw "You must call getSegmentRequestForTime first.";
}