<div dir="ltr">I am using FFMPEG to convert Live RTP Url stream to HLS. Incase there is a 404 File not found on an RTSP Url, I create a new subprocess of ffmpeg which eventually creates a new socket connection. This has led to socket leakage and reached the ulimit.<div><br></div><div>Thanks</div></div><br><div class="gmail_quote"><div dir="ltr" class="gmail_attr">On Thu, Feb 27, 2020 at 11:10 AM Ross Finlayson <<a href="mailto:finlayson@live555.com">finlayson@live555.com</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"><br>
<br>
> On Feb 27, 2020, at 6:17 PM, Siddhant Agarwal <<a href="mailto:siddhant.agarwal@staqu.com" target="_blank">siddhant.agarwal@staqu.com</a>> wrote:<br>
> <br>
> Hi,<br>
> <br>
> I am using Live555 with the "-t" flag.<br>
<br>
OK, by this I presume that you mean that you’re running *live555ProxyServer* (not ‘LIVE555’) with the “-t” flag, and that the “404 File not found” is occurring on the ‘back-end’ stream.<br>
<br>
Yes, the “LIVE555 Proxy Server” keeps the RTSP connection open. (This is regardless of whether or not it was run with the “-t” flag.) This is because it keeps trying to access the ‘back-end’ stream, in the hope that it will become available in the future. You can see this quite clearly if you add the “-V” flag to live555ProxyServer.<br>
<br>
There is no bug here.<br>
<br>
<br>
Ross Finlayson<br>
Live Networks, Inc.<br>
<a href="http://www.live555.com/" rel="noreferrer" target="_blank">http://www.live555.com/</a><br>
<br>
<br>
_______________________________________________<br>
live-devel mailing list<br>
<a href="mailto:live-devel@lists.live555.com" target="_blank">live-devel@lists.live555.com</a><br>
<a href="http://lists.live555.com/mailman/listinfo/live-devel" rel="noreferrer" target="_blank">http://lists.live555.com/mailman/listinfo/live-devel</a><br>
</blockquote></div>