dashdemux: RepresentationIndex is not used
Submitted by Florin Apostol
RepresentationIndex element from SegmentBase is designed to identify a single Segment Index for the entire representation. But RepresentationIndex is only parsed and not used.
gstadaptivedemux makes an attempt to download a single Segment Index for an entire representation in the gst_adaptive_demux_stream_download_header_fragment function. But the indexUrl and range are not obtained from RepresentationIndex. Instead, they are wrongly obtained from Initilization@SegmentBase and indexRange@SegmentBase.