[Bug 746382] souphttpsrc: Use proxy username/password from http_proxy

GStreamer (GNOME Bugzilla) bugzilla at gnome.org
Wed Mar 18 03:22:55 PDT 2015


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

--- Comment #7 from Rajat Verma <kameyameha at gmail.com> ---
Little more detail about problem, pipeline I am trying to play is something
like below:

gst-launch-1.0 playbin
uri=http://www-itec.uni-klu.ac.at/ftp/datasets/mmsys13/redbull_4sec.mpd

Actually, we have our own application, which creates the pipeline, allowing us
to set properties, play-plause etc.

In that, I tried to register this callback:
  g_signal_connect (player->elements.playbin, "source-setup",
      G_CALLBACK (player_cb_source_setup), player_p);

and inside it, set proxy-id,proxy-pw.

With this, manifest is downloaded correctly, however, when dashdemux tries to
download the first segment, I see "407, proxy authentication required" error.

Inside, dashdemux, I see, when it goes to fetch a segment, it creates an
instance of souphttpsrc using below api:
gst_element_make_from_uri()

Now, with http_proxy set in my environment, this newly created souphttpsrc
instance correctly goes to proxy, but this instance does not has proxy-id,
proxy-pw set, so segment fetching fails.

Note that dashdemux will do this for every segment it wants to fetch.

May you please guide me on how to correctly set up proxy-id/proxy-pw on these
intermediate souphttpsrc instances, if parsing http_proxy is not a viable
approach?

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