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

GStreamer (GNOME Bugzilla) bugzilla at gnome.org
Mon Mar 23 05:31:55 PDT 2015


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

--- Comment #14 from Nicolas Dufresne (stormer) <nicolas.dufresne at collabora.co.uk> ---
The problem I see, is that you seem to assume that the proxy credential will
always be the same for all URI found in the playlist. Like browsers, which
should be able to handle multiple credential for multiple URI.

What I'm proprosing is to introduce a bus message for authentication.
SoupSession will emit "authenticate" signal. This signal can be for normal
authentication or proxy (this way we can add support for both). As we want this
to happen asynchronously, we'll call soup_session_pause_message() and
g_object_ref() the message). We will post a message, probably implement an
Authetication inteface for GStreamer element. Application watching this message
can then reply to it through the interface, and then streaming can continue.

This is not a limbo, this is what I think is the right way to solve this issue.
The http_proxy environment approach is very hacky, and it's completly
inconsistent between softwares. It also prevent from having certain URI go
through proxy while keeping other direct.

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