[Bug 752718] New: dahsdemux: an incorrect index segment is downloaded
GStreamer (GNOME Bugzilla)
bugzilla at gnome.org
Wed Jul 22 05:53:08 PDT 2015
https://bugzilla.gnome.org/show_bug.cgi?id=752718
Bug ID: 752718
Summary: dahsdemux: an incorrect index segment is downloaded
Classification: Platform
Product: GStreamer
Version: git master
OS: Linux
Status: NEW
Severity: normal
Priority: Normal
Component: gst-plugins-bad
Assignee: gstreamer-bugs at lists.freedesktop.org
Reporter: florin.apostol at oregan.net
QA Contact: gstreamer-bugs at lists.freedesktop.org
GNOME version: ---
The gst_adaptive_demux_stream_download_header_fragment function is currently
downloading the index segment. The stream->fragment.index_uri was set by the
gst_dash_demux_stream_update_headers_info based on information supplied by
gst_mpd_client_get_next_header_index function. But this function is setting the
uri to initializationURL
*uri =
g_strdup (gst_mpdparser_get_initializationURL (stream,
stream->cur_segment_base->Initialization));
According to the standard, the description of indexRange at segmentBase is:
"specifies the byte range that contains the Segment Index in all Media Segments
of the Representation."
So the url it refers to should be the mediaURL, not the initializationURL. But
the mediaURL can differ for each media segment, so the approach to download a
single index segment in gst_adaptive_demux_stream_download_header_fragment is
wrong.
See also https://bugzilla.gnome.org/show_bug.cgi?id=752714 for proposed changes
in handling segment index downloading.
--
You are receiving this mail because:
You are the QA Contact for the bug.
You are the assignee for the bug.
More information about the gstreamer-bugs
mailing list