udpsrc input failover
Sebastian Dröge
sebastian at centricular.com
Sat May 10 22:59:07 PDT 2014
On Fr, 2014-05-09 at 15:01 -0700, haris wrote:
> Thank you for these good pointers.
>
> I certainly agree the best option would be to have only 1 input running
> (receiving) all the time and activate the other first on failure. If I
> want to switch back to "primary" udpsrc after a failover to "backup"
> udpsrc, how would you suggest to (re)check if the "primary" udpsrc is
> again receiving correctly? The meaning is to avoid trying to switch back
> until the primary is actually confirmed to have recovered.
You could have the primary udpsrc running in the background and
connected to e.g. a fakesink, or appsink and check with a pad probe (or
the appsink signal) if data is arriving there.
--
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/20140511/742fe427/attachment.sig>
More information about the gstreamer-devel
mailing list