<meta content="text/html; charset=UTF-8" http-equiv="Content-Type">
  
  
    Thank you for these good pointers.<br>
    <br>
    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.<br>
    <br>
    <br>
    <br>
    <br>
    <div class="moz-cite-prefix">On 08/05/14 23:53, Sebastian Dröge-3
      [via GStreamer-devel] wrote:<br>
    </div>
    <blockquote style='border-left:2px solid #CCCCCC;padding:0 1em' cite="mid:1399580540.17826.2.camel@thor.lan" type="cite">
      On Do, 2014-05-08 at 10:23 -0700, haris wrote:
      <br>
      > I have read about dynamic pipeline changes... in this article
      <br>
      > <a moz-do-not-send="true"
href="http://gstreamer.freedesktop.org/data/doc/gstreamer/head/manual/html/section-dynamic-pipelines.html"
        target="_top" rel="nofollow" link="external">http://gstreamer.freedesktop.org/data/doc/gstreamer/head/manual/html/section-dynamic-pipelines.html</a><br>
      > <br>
      > Would anyone say that could be a good way to handle input
      failover between 2
      <br>
      > udpsrc elements?
      <br>
      <br>
      Yes, you need to dynamically change the pipeline whenever you
      notice
      <br>
      that you need to do failover or alternatively you could have both
      <br>
      sources running all the time and use an input-selector element.
      But
      <br>
      dynamic pipelines, and the failover source only enabled when
      necessary,
      <br>
      is going to be more efficient.
      <br>
      <br>
      For detecting when no data was received for a while you can use
      the
      <br>
      watchdog element from gst-plugins-bad, or as Michael said the
      timeout
      <br>
      property on udpsrc.
      <br>
      <br>
      -- <br>
      Sebastian Dröge, Centricular Ltd - <a moz-do-not-send="true"
        href="http://www.centricular.com" target="_top" rel="nofollow" link="external">http://www.centricular.com</a><br>
      Expertise, Straight from the Source
      <br>
      <br>
      _______________________________________________
      <br>
      gstreamer-devel mailing list
      <br>
      <a moz-do-not-send="true"
        href="/user/SendEmail.jtp?type=node&node=4666876&i=0"
        target="_top" rel="nofollow" link="external">[hidden email]</a>
      <br>
      <a moz-do-not-send="true"
        href="http://lists.freedesktop.org/mailman/listinfo/gstreamer-devel"
        target="_top" rel="nofollow" link="external">http://lists.freedesktop.org/mailman/listinfo/gstreamer-devel</a><br>
      <!--start-attachments-->
      <div class="small"><br>
        <img moz-do-not-send="true"
src="http://gstreamer-devel.966125.n4.nabble.com/images/icon_attachment.gif">
        <strong>signature.asc</strong> (985 bytes) <a
          moz-do-not-send="true"
href="http://gstreamer-devel.966125.n4.nabble.com/attachment/4666876/0/signature.asc"
          target="_top" rel="nofollow" link="external">Download
          Attachment</a></div>
      <!--end-attachments--> <br>
      <br>
      <hr color="#cccccc" noshade="noshade" size="1">
      <div style="color:#444; font: 12px
        tahoma,geneva,helvetica,arial,sans-serif;">
        <div style="font-weight:bold">If you reply to this email, your
          message will be added to the discussion below:</div>
        <a moz-do-not-send="true"
href="http://gstreamer-devel.966125.n4.nabble.com/udpsrc-input-failover-tp4666216p4666876.html" target="_top" rel="nofollow" link="external">http://gstreamer-devel.966125.n4.nabble.com/udpsrc-input-failover-tp4666216p4666876.html</a>
      </div>
      <div style="color:#666; font: 11px
tahoma,geneva,helvetica,arial,sans-serif;margin-top:.4em;line-height:1.5em">
        To unsubscribe from udpsrc input failover, <a
          moz-do-not-send="true"
href="" target="_top" rel="nofollow" link="external">click
          here</a>.<br>
        <a moz-do-not-send="true"
href="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" rel="nofollow" style="font:9px serif" target="_top" link="external">NAML</a> </div>
    </blockquote>
    <br>
    <div class="moz-signature">-- <br>
      <meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
      <font color="#122F56" face="Arial, Helvetica, Geneva, Sans-Serif"
        size="2">
        <br>
        <b>Haris Zukanovic</b><br>
      </font> <font style="font-style: italic; font-weight: bold;"
        color="grey" size="2"><strong></strong></font>
    </div>
  



        
        
        
<br/><hr align="left" width="300" />
View this message in context: <a href="http://gstreamer-devel.966125.n4.nabble.com/udpsrc-input-failover-tp4666216p4666893.html">Re: udpsrc input failover</a><br/>
Sent from the <a href="http://gstreamer-devel.966125.n4.nabble.com/">GStreamer-devel mailing list archive</a> at Nabble.com.<br/>