[gst-devel] Souphttpsrc and playbin

Tim-Philipp Müller t.i.m at zen.co.uk
Fri Sep 12 11:53:26 CEST 2008


On Thu, 2008-09-11 at 15:44 -0500, Raj Swaminathan wrote:

Hi,

> So playbin is trying to use souphttpsrc but Im assuming the error is
> becoz the proxy is not set .....
> Can someone plz suggest how to set the proxy property with souphttpsrc
> and still use playbin v1 ?

One possibility already mentioned by Eric is to connect to the
notify::source signal and set up the source in the callback. This is the
recommended way of configuring playbin sources (also for things like
"device" properties and the like).

In your case you could also just set the http_proxy environment variable
(g_set_env) - if you're lucky souphttpsrc will take that into account
and configure itself accordingly.

Cheers
 -Tim







More information about the gstreamer-devel mailing list