[gst-devel] Dinamically add clients to multiudpsink: why and how use a signal???

Nicola Murino n.murino at prassel.it
Sat May 30 16:25:01 CEST 2009


In data sabato 30 maggio 2009 15:49:32, MailingList SVR ha scritto:
: > Hi all,
> 
> there is something not much clear to me about multiupdsink: I would like to dinamycally add clients to multiudpsink, based on the documentation (http://gstreamer.freedesktop.org/data/doc/gstreamer/head/gst-plugins-good-plugins/html/gst-plugins-good-plugins-multiudpsink.html) there are:
> 
> 1) a clients property I can populate with the desidered clients, ok is fine
> 2) an "add" signal???? But how add clients using a signal?
> 
> I tried to modify the clients property while the pipeline is running but this didn't work, so the only way if one is to use the add signal but I don't know how to use a signal to add a client can you give me some examples please? I'm using the python bindings,
> 
> thanks
> Nicola
> 
Ok I managed to change the property using the signal but this doesn't work dinamically, for example if "a" is my multiudpsink element I can do something like:

a.emit('add','192.168.10.254',5000)

and the a.get_property('clients') return all the clients but. However if the pipeline is already running the client isn't dinamycally added, 

any hints?
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.freedesktop.org/archives/gstreamer-devel/attachments/20090530/71133e02/attachment.htm>


More information about the gstreamer-devel mailing list