[Bug 743703] New: http connectivity robustness of hlsdemux (and now adaptivedemux)

GStreamer (bugzilla.gnome.org) bugzilla at gnome.org
Thu Jan 29 07:58:58 PST 2015


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

           Summary: http connectivity robustness of hlsdemux (and now
                    adaptivedemux)
    Classification: Platform
           Product: GStreamer
           Version: unspecified
        OS/Version: All
            Status: UNCONFIRMED
          Severity: normal
          Priority: Normal
         Component: gst-plugins-bad
        AssignedTo: gstreamer-bugs at lists.freedesktop.org
        ReportedBy: mariusz.buras at gmail.com
         QAContact: gstreamer-bugs at lists.freedesktop.org
     GNOME version: ---


Created an attachment (id=295768)
 --> (https://bugzilla.gnome.org/attachment.cgi?id=295768)
hlsdemux http robustness patch 

We had a some issues with hlsdemux in GStreamer 1.2 with regards to http
connectivity. It was with HLS playback on a commodity networking hardware (home
routers, switches etc.) where connections were dropped (connection reset,
etc.). At this point hlsdemux would flag an error and playback was interrupted.
We've introduced a logic to hlsdemux which was responsible for figuring out
what was the error exactly (required changes to souphttpsrc to pass more
details on the error condition) and retrying the download if it was
connectivity issue. For server errors (404 etc) we would forward the error as
expected immediately. For connectivity errors we we're retrying for a fix
number of attempts with a back off time and if connectivity couldn't be
established (fragment couldn't be downloaded) we'd eventually surface an error.

It would be fantastic it adaptivedemux could fix this problem wholesale in 1.5.

I've attached our patches (for 1.2) as a reference. Hope that helps.

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