After an evaluation, GNOME has moved from Bugzilla to GitLab. Learn more about GitLab.
No new issues can be reported in GNOME Bugzilla anymore.
To report an issue in a GNOME project, go to GNOME GitLab.
Do not go to GNOME Gitlab for: Bluefish, Doxygen, GnuCash, GStreamer, java-gnome, LDTP, NetworkManager, Tomboy.
Bug 752718 - dahsdemux: an incorrect index segment is downloaded
dahsdemux: an incorrect index segment is downloaded
Status: RESOLVED OBSOLETE
Product: GStreamer
Classification: Platform
Component: gst-plugins-bad
git master
Other Linux
: Normal normal
: git master
Assigned To: GStreamer Maintainers
GStreamer Maintainers
Depends on:
Blocks:
 
 
Reported: 2015-07-22 12:53 UTC by Florin Apostol
Modified: 2018-11-03 13:38 UTC
See Also:
GNOME target: ---
GNOME version: ---



Description Florin Apostol 2015-07-22 12:53:08 UTC
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@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.
Comment 1 GStreamer system administrator 2018-11-03 13:38:00 UTC
-- GitLab Migration Automatic Message --

This bug has been migrated to freedesktop.org's GitLab instance and has been closed from further activity.

You can subscribe and participate further through the new bug through this link to our GitLab instance: https://gitlab.freedesktop.org/gstreamer/gst-plugins-bad/issues/277.