[Bug 737703] New: dashdemux: improve bandwidth calculation

GStreamer (bugzilla.gnome.org) bugzilla at gnome.org
Wed Oct 1 01:20:41 PDT 2014


https://bugzilla.gnome.org/show_bug.cgi?id=737703
  GStreamer | gst-plugins-bad | 1.4.1

           Summary: dashdemux: improve bandwidth calculation
    Classification: Platform
           Product: GStreamer
           Version: 1.4.1
        OS/Version: Linux
            Status: UNCONFIRMED
          Severity: enhancement
          Priority: Normal
         Component: gst-plugins-bad
        AssignedTo: gstreamer-bugs at lists.freedesktop.org
        ReportedBy: matthieu.bouron at collabora.com
         QAContact: gstreamer-bugs at lists.freedesktop.org
     GNOME version: ---


Created an attachment (id=287500)
 View: https://bugzilla.gnome.org/attachment.cgi?id=287500
 Review: https://bugzilla.gnome.org/review?bug=737703&attachment=287500

dashdemux: improve bandwidth calculation

The current method used in dashdemux compute the overall bandwidth from the
beginning of the stream download, so the more you go in time, the less you are
likely to be able to react to a (big) bandwidth change.

The following patch uses a simple sliding window, where the download rate is
computed for each fragment download. A simple average is made out of the N
previous value to get the current bandwidth, so dashdemux is more likely to
react to bandwidth changes.

This patch is a WIP and obviously need to be tweaked / completed (and more
tested): so we don't end up switching representations all the time.

Maybe we can try to react quickly when the bandwidth goes down, and slightly
recover when it goes up to preserve playback smoothness ?

Comments welcome :)

-- 
Configure bugmail: https://bugzilla.gnome.org/userprefs.cgi?tab=email
------- 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