Hi,
when trying to parse this .mpd playlist from DashIf test vectors :
http://dash.edgesuite.net/dash264/TestCases/2c/qualcomm/1/MultiResMPEG2.mpd
the negative @r in <SegmentTimeline><S d="24576" r="-1" />
gives me an empty list of representation
method getFirstSegmentNum() returns 1
but trying to access a representation causes java.lang.IndexOutOfBoundsException: Index: 0, Size: 0
The specs say :
A negative value of the @r attribute of the S element indicates that the duration indicated in @d attribute repeats until the start of the next S element, the end of the Period or until the next MPD update.
How could I deal with that ?
Manually editing the playlist and replacing "r=-1" by the actual number of chunks works fine, but obviously I can't rely on that.
Thanks !
Hi,
when trying to parse this .mpd playlist from DashIf test vectors :
http://dash.edgesuite.net/dash264/TestCases/2c/qualcomm/1/MultiResMPEG2.mpd
the negative @r in
<SegmentTimeline><S d="24576" r="-1" />gives me an empty list of representation
method
getFirstSegmentNum()returns 1but trying to access a representation causes
java.lang.IndexOutOfBoundsException: Index: 0, Size: 0The specs say :
How could I deal with that ?
Manually editing the playlist and replacing "r=-1" by the actual number of chunks works fine, but obviously I can't rely on that.
Thanks !