Change the parameters of udpsink gstreamer plugin at runtime

Tim Müller tim at centricular.com
Tue Jan 12 15:10:42 UTC 2021


On Tue, 2021-01-12 at 07:34 -0600, karimchtx wrote:

Hi,

> As I'm frequently switching dev/prod platforms I need to change the
> dest IP address, port etc.
> 
> Not an expert of gstreamer-api, I was wondering how to dynamicaly
> change the host and port parameters of udpsink plugin, at runtime.
> 
> Is it however possible ?

With multiudpsink you should be able to use the "remove" and "add"
action signals to add/remove clients at runtime. udpsink derives from
multiudpsink, so that API should work on it too.

Cheers
 Tim



More information about the gstreamer-devel mailing list