udpsrc input failover
haris
haris.zukanovic at morescreens.tv
Fri May 9 15:01:26 PDT 2014
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.
On 08/05/14 23:53, Sebastian Dröge-3 [via GStreamer-devel] wrote:
> 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
>
> _______________________________________________
> gstreamer-devel mailing list
> [hidden email] </user/SendEmail.jtp?type=node&node=4666876&i=0>
> http://lists.freedesktop.org/mailman/listinfo/gstreamer-devel
>
> *signature.asc* (985 bytes) Download Attachment
> <http://gstreamer-devel.966125.n4.nabble.com/attachment/4666876/0/signature.asc>
>
>
> ------------------------------------------------------------------------
> If you reply to this email, your message will be added to the
> discussion below:
> http://gstreamer-devel.966125.n4.nabble.com/udpsrc-input-failover-tp4666216p4666876.html
>
> To unsubscribe from udpsrc input failover, click here
> <http://gstreamer-devel.966125.n4.nabble.com/template/NamlServlet.jtp?macro=unsubscribe_by_code&node=4666216&code=aGFyaXMuenVrYW5vdmljQG1vcmVzY3JlZW5zLnR2fDQ2NjYyMTZ8MTgwMjAyNjE2MQ==>.
> NAML
> <http://gstreamer-devel.966125.n4.nabble.com/template/NamlServlet.jtp?macro=macro_viewer&id=instant_html%21nabble%3Aemail.naml&base=nabble.naml.namespaces.BasicNamespace-nabble.view.web.template.NabbleNamespace-nabble.view.web.template.NodeNamespace&breadcrumbs=notify_subscribers%21nabble%3Aemail.naml-instant_emails%21nabble%3Aemail.naml-send_instant_email%21nabble%3Aemail.naml>
>
--
*Haris Zukanovic*
**
--
View this message in context: http://gstreamer-devel.966125.n4.nabble.com/udpsrc-input-failover-tp4666216p4666893.html
Sent from the GStreamer-devel mailing list archive at Nabble.com.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.freedesktop.org/archives/gstreamer-devel/attachments/20140509/4b5902e2/attachment.html>
More information about the gstreamer-devel
mailing list