dashdemux: fails to download initialisation segment when switching bitrates
Submitted by A Ashley
Occasionally dashdemux switches bitrates but fails to download the initialisation segment for the new bitrate. This typically causes the decoder that is downstream of dashdemux to produce numerous decode errors.
As an example, here is part of an HTTP access log:
When switching from "video6" representation to the "video4" representation, it is not downloading video4/Header.m4s.
I have managed to produce a unit test that reproduces the problem, which I will attach to this ticket. I have not yet managed to work out why it is going wrong, but I suspect it is related to the manifest refresh, which is set to happen after every segment.