<html><head></head><body><div class="ydpffe7780cyahoo-style-wrap" style="font-family:Helvetica Neue, Helvetica, Arial, sans-serif;font-size:13px;"><div></div>
        <div dir="ltr" data-setdir="false">Thank you for your reply, Will. It is a good idea. It would be nice to have an element or event to handle this scenario.</div><div dir="ltr" data-setdir="false"><br></div><div dir="ltr" data-setdir="false">   Joe<br></div><div><br></div>
        
        </div><div id="yahoo_quoted_2353926273" class="yahoo_quoted">
            <div style="font-family:'Helvetica Neue', Helvetica, Arial, sans-serif;font-size:13px;color:#26282a;">
                
                <div>
                    On Tuesday, April 18, 2023, 07:59:33 a.m. EDT, wm-gstreamer.switchd.net via gstreamer-devel <gstreamer-devel@lists.freedesktop.org> wrote:
                </div>
                <div><br></div>
                <div><br></div>
                <div><div id="yiv5495979631"><div>
    <p>Hi Joe,</p>
    <p><br clear="none">
    </p>
    <p>Not a direct answer to your question, but an idea for a
      workaround I used that may help you:<br clear="none">
    </p>
    <p>I used identity with a hand-off function that simply counts
      updates, then use a periodic timer to ensure updates keep coming
      through.</p>
    <p>When no buffers have come through, time to terminate!</p>
    <p><br clear="none">
    </p>
    <p>In my use-case I placed this after the mp4mux as it was refusing
      to pass data on after some unusual data was received, but it's a
      flexible approach.<br clear="none">
    </p>
    <p><br clear="none">
    </p>
    <p>I'd not be surprised if there is a standard pipeline element that
      does something similar...</p>
    <p><br clear="none">
    </p>
    <p>Will.<br clear="none">
    </p>
    <p><br clear="none">
    </p>
    <div id="yiv5495979631yqt99215" class="yiv5495979631yqt8043400935"><div class="yiv5495979631moz-cite-prefix">On 17/04/2023 19:01, cfd new via
      gstreamer-devel wrote:<br clear="none">
    </div>
    <blockquote type="cite">
      </blockquote></div></div><div id="yiv5495979631yqt46593" class="yiv5495979631yqt8043400935"><div><div style="font-family:Helvetica Neue, Helvetica, Arial, sans-serif;font-size:13px;" class="yiv5495979631yahoo-style-wrap">
        <div dir="ltr">how does the receiver(client
          side) know quickly if the camera is unplugged or simply stops
          for whatever reasons.</div>
        <div dir="ltr">I tried to check EOS or ERROR
          messages from the bus. However, it will take more than 30s to
          see these messages <br clear="none">
        </div>
        <div dir="ltr">after the camera is
          unplugged. This is kind of too long.<br clear="none">
        </div>
        <div dir="ltr"><br clear="none">
        </div>
        <div dir="ltr">   Joe<br clear="none">
        </div>
      </div>
    
  </div></div></div></div>
            </div>
        </div></body></html>