<div dir="ltr"><div>Frequently?  Is this at a recognizable interval? like exactly 60 or 120 seconds?<br></div><div><br></div><div>RTSP sets a timeout on the session and the timeout is refreshed with a variety of potential ways. <br></div><div>If the response to the PLAY command says timeout is 60 seconds, you need to send back a GET_PARAMETER, OPTIONS, SET_PARAMTER to refresh it. If rtcp is running on the +1 socket or channel then the RR (reciever report) can sometimes be enough. <br></div><div><br></div><div>A wireshark will allow you to see this case.<br></div></div><br><div class="gmail_quote"><div dir="ltr" class="gmail_attr">On Wed, Nov 9, 2022 at 6:34 PM Guru Govindan via gstreamer-devel <<a href="mailto:gstreamer-devel@lists.freedesktop.org">gstreamer-devel@lists.freedesktop.org</a>> wrote:<br></div><blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left:1px solid rgb(204,204,204);padding-left:1ex"><div dir="ltr">Hi,<div>I am working with a few security cameras like ACTi and GeoVision, where the rtsp stream frequently sends EOS caught by bus watch.</div><div>I tried ignoring it and that would lead to the video ingest stopping to work.</div><div>I am having to force the pipeline to restart with setting it to ready and playing.</div><div><br></div><div>Is there any other way to continue ingesting without having to restart the pipeline as I lose footage during the restart.</div><div><br></div><div><pre style="background-color:rgb(40,44,52);color:rgb(171,178,191);font-family:"JetBrains Mono",monospace;font-size:11.3pt">gst::<span style="color:rgb(229,192,123)">MessageView</span>::<span style="color:rgb(209,154,102)">Eos</span>(..) => {<br>    log::<span style="color:rgb(97,175,239)">info!</span>(<span style="color:rgb(152,195,121)">"Received EOS from the stream! restarting the stream!"</span>);<br>    <span style="color:rgb(198,120,221)">let </span>_ = pipeline.<span style="color:rgb(255,198,109)">set_state</span>(gst::<span style="color:rgb(229,192,123)">State</span>::<span style="color:rgb(209,154,102)">Ready</span>);<br>    <span style="color:rgb(198,120,221)">let </span>_ = pipeline.<span style="color:rgb(255,198,109)">set_state</span>(gst::<span style="color:rgb(229,192,123)">State</span>::<span style="color:rgb(209,154,102)">Playing</span>);</pre></div></div>
</blockquote></div>