[Bug 757603] New: dashdemux: incorrect waiting for fragments to be available

GStreamer (GNOME Bugzilla) bugzilla at gnome.org
Wed Nov 4 10:39:13 PST 2015


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

            Bug ID: 757603
           Summary: dashdemux: incorrect waiting for fragments to be
                    available
    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: ---

For a live stream, adaptive demux will call
gst_adaptive_demux_stream_get_fragment_waiting_time to determine how much it
needs to wait until a fragment is available. But that function uses
gst_mpd_client_get_next_segment_availability_end_time in order to determine the
availability. It should use the segment's availability start time (the
beginning of the segment, not the end).

As a consequence, a live stream will be delayed if the segment end is in the
future, even if the start is in the past (so it is available on server). For
example, if the live stream started to be available 10s ago
(mpd->availabilityStartTime = now - 10s) and the first segment has a duration
of 15s, adaptive demux will wait for another 5 seconds before playing.
Normally, it should start playing right away, because first segment's
availability start time is equal to mpd->availabilityStartTime which is in the
past.

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