udpsrc input failover

Sebastian Dröge sebastian at centricular.com
Thu May 8 13:22:20 PDT 2014


On Do, 2014-05-08 at 10:23 -0700, haris wrote:
> I have read about dynamic pipeline changes... in this article
> http://gstreamer.freedesktop.org/data/doc/gstreamer/head/manual/html/section-dynamic-pipelines.html
> 
> Would anyone say that could be a good way to handle input failover between 2
> udpsrc elements?

Yes, you need to dynamically change the pipeline whenever you notice
that you need to do failover or alternatively you could have both
sources running all the time and use an input-selector element. But
dynamic pipelines, and the failover source only enabled when necessary,
is going to be more efficient.

For detecting when no data was received for a while you can use the
watchdog element from gst-plugins-bad, or as Michael said the timeout
property on udpsrc.

-- 
Sebastian Dröge, Centricular Ltd - http://www.centricular.com
Expertise, Straight from the Source
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 966 bytes
Desc: This is a digitally signed message part
URL: <http://lists.freedesktop.org/archives/gstreamer-devel/attachments/20140508/4fc905b7/attachment.sig>


More information about the gstreamer-devel mailing list