<div dir="ltr">This doesn't have anything to do with network parameters. RTSP clients periodically send a GET_PARAMETER message (I think) to indicate to the server that they are still alive and want the media stream. In the 0.10 version this interval does not seem to be configurable. You can often configure a timeout on the server but that doesn't help if you don't control the server (usually the case). Usually the message is sent once per minute or so. Use wireshark (or something) to look at the RTSP communication for a better idea of what is happening. You can also set the RTSP client logging to level 6 (I think that is the right level) to get the RTSP messages displayed in the log. That is very helpful.<br></div><div class="gmail_extra"><br><div class="gmail_quote">On Fri, Feb 6, 2015 at 11:42 AM, Ian Davidson <span dir="ltr"><<a href="mailto:id012c3076@blueyonder.co.uk" target="_blank">id012c3076@blueyonder.co.uk</a>></span> wrote:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">
  
    
  
  <div bgcolor="#FFFFFF" text="#000000">
    I believe that 'keep-alive' is normally configured within the OS for
    the internet connection, so that 'user software' does not need to do
    anything.<br>
    <br>
    I learnt this some time ago (on Windows XP) - but I would suspect
    that it applies across most OSs.<span class="HOEnZb"><font color="#888888"><br>
    <br>
    Ian</font></span><div><div class="h5"><br>
    <br>
    <div>On 06/02/2015 11:46, Min Wu wrote:<br>
    </div>
    <blockquote type="cite">
      <div dir="ltr">Hello everyone. I am new to gstreamer. With some
        research I can connect to my IP camera (vivotek fe8171v) with
        the command:
        <div><br>
        </div>
        <div>gst-launch-1.0 rtspsrc location=rtsp://<a href="http://192.168.137.100:554/live4.sdp" target="_blank">192.168.137.100:554/live4.sdp</a>
          latency=0 udp-reconnect=TRUE do-rtsp-keep-alive=true !
          rtph264depay ! avdec_h264 ! videoconvert ! osxvideosink<br>
        </div>
        <div><br>
        </div>
        <div>I can restream the video on my computer but after a while
          it returns:</div>
        <div><br>
        </div>
        <div>
          <div>gstrtspsrc.c(4705): gst_rtspsrc_loop_udp ():
            /GstPipeline:pipeline0/GstRTSPSrc:rtspsrc0:</div>
          <div>The server closed the connection.</div>
        </div>
        <div>
          <div><br>
          </div>
        </div>
        <div>then pipeline0 receives eos message and quits. Rtspsrc's
          page says do-rtsp-keep-alive might be incompatible with some
          old server but problem remained even if I turn it to false. </div>
        <div><br>
        </div>
        <div>What's the problem? Thank you.</div>
      </div>
    </blockquote>
    <br>
  </div></div></div>

<br>_______________________________________________<br>
gstreamer-devel mailing list<br>
<a href="mailto:gstreamer-devel@lists.freedesktop.org">gstreamer-devel@lists.freedesktop.org</a><br>
<a href="http://lists.freedesktop.org/mailman/listinfo/gstreamer-devel" target="_blank">http://lists.freedesktop.org/mailman/listinfo/gstreamer-devel</a><br>
<br></blockquote></div><br></div>