[Bug 753751] Dashdemux: returned seekable range for live streams is not usable

GStreamer (GNOME Bugzilla) bugzilla at gnome.org
Tue Sep 29 08:41:19 PDT 2015


https://bugzilla.gnome.org/show_bug.cgi?id=753751

--- Comment #18 from A Ashley <bugzilla at ashley-family.net> ---
Created attachment 312366
  --> https://bugzilla.gnome.org/attachment.cgi?id=312366&action=edit
dashdemux: include segment duration when calculating seek range

The gst_dash_demux_get_live_seek_range () function returns a stop value that is
beyond the available range. The functions gst_mpd_client_check_time_position()
and gst_mpd_client_get_next_segment_availability_end_time() in gstmpdparser.c
include the segment duration when checking if a segment is available. The
gst_dash_demux_get_live_seek_range() function in gstdashdemux.c ignores the
segment duration.

This patch subtracts maxSegmentDuration from the stop time, which should be a
conservative approach to calculating stop time. A more accurate value for
segment duration could be used if GstActiveStream* was available to the
gst_dash_demux_get_live_seek_range() function.

-- 
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