[Bug 783012] New: gstsouphttpsrc doesn't support socks5 proxy

GStreamer (GNOME Bugzilla) bugzilla at gnome.org
Tue May 23 19:02:30 UTC 2017


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

            Bug ID: 783012
           Summary: gstsouphttpsrc doesn't support socks5 proxy
    Classification: Platform
           Product: GStreamer
           Version: 1.x
                OS: Linux
            Status: NEW
          Severity: normal
          Priority: Normal
         Component: gst-plugins-good
          Assignee: gstreamer-bugs at lists.freedesktop.org
          Reporter: nick at afternight.org
        QA Contact: gstreamer-bugs at lists.freedesktop.org
     GNOME version: ---

If you try the following:
gst-launch-1.0 souphttpsrc location="http://example.com"
proxy="socks5://localhost:8888" ! fakesink

The output is:
Setting pipeline to PAUSED ...
Pipeline is PREROLLING ...
ERROR: from element /GstPipeline:pipeline0/GstSoupHTTPSrc:souphttpsrc0: Could
not resolve server name.
Additional debug info:
gstsouphttpsrc.c(1270): gst_soup_http_src_parse_status ():
/GstPipeline:pipeline0/GstSoupHTTPSrc:souphttpsrc0:
Error resolving “socks5”: Name or service not known (2), URL:
http://example.com, Redirect to: (NULL)
ERROR: pipeline doesn't want to preroll.
Setting pipeline to NULL ...
Freeing pipeline ...


The problem is that gstreamer checks if the proxy starts with http:// and if
not, prepends it.  It probably should just check for some scheme (includes a
://) and only prepend if not.

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