Re: [Live-devel] [live555] doesn't call closeSockets after 404 File not found for rtsp over tcp

2020-02-26 Thread Siddhant Agarwal
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. Thanks On Thu, Feb 27, 2020 at 11:10 AM Ross F

Re: [Live-devel] Remove from mailing list

2020-02-26 Thread Ross Finlayson
> On Feb 27, 2020, at 6:47 PM, Prager, Michal wrote: > > Hi, > > Can you please remove me from the mailing list? Come on, folks, this is ’Netiquette 101’. You NEVER unsubscribe from a mailing list by sending email to the list itself. Instead, visit the list’s web site - in this case:

[Live-devel] Remove from mailing list

2020-02-26 Thread Prager, Michal
Hi, Can you please remove me from the mailing list? Thanks, Michal - Intel Israel (74) Limited This e-mail and any attachments may contain confidential material for the sole use of the intended recipient(s). Any review or distr

Re: [Live-devel] [live555] doesn't call closeSockets after 404 File not found for rtsp over tcp

2020-02-26 Thread Ross Finlayson
> On Feb 27, 2020, at 6:17 PM, Siddhant Agarwal > wrote: > > Hi, > > I am using Live555 with the "-t" flag. 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’ stre

Re: [Live-devel] [live555] doesn't call closeSockets after 404 File not found for rtsp over tcp

2020-02-26 Thread Siddhant Agarwal
Hi, I am using Live555 with the "-t" flag. I checked the sockets connection status: Some are in EST (Established state) whereas some sockets are in CLOSE_WAIT or FIN_WAIT2 state. Incase of 404 Not Found, it seems like its a sockets leaking issue. Thanks Siddhant. On Thu, Feb 27, 2020 at 1:44 AM

Re: [Live-devel] [live555] Stream FFMPEG packets using subclassed OnDemandServerMediaSubsession

2020-02-26 Thread Ross Finlayson
> On Feb 27, 2020, at 11:22 AM, Matthew Czarnek wrote: > > It's now streaming to VLC, I'm still having a bug though .I think it's a PTS > issue? In general we can’t help you with VLC, as that’s not our software. However, I’d make sure that your H.264 source is generating data reasonably smo

Re: [Live-devel] [live555] Stream FFMPEG packets using subclassed OnDemandServerMediaSubsession

2020-02-26 Thread Matthew Czarnek
Thank you Ross! I did indeed need to set includeStartCodeInOutput to false. Otherwise, I was having a different problem, the video was getting through but looked like a jumbled mess, so I decided to double check that I was reading the frame correctly using using ffmpeg's av_write_frame.. turns out

Re: [Live-devel] [live555] doesn't call closeSockets after 404 File not found for rtsp over tcp

2020-02-26 Thread dan_desjardins
>> In any case, because this ‘problem’ occurs when there’s a “404 not found” >> error (i.e. an incorrect “rtsp://“ URL was given somewhere), this doesn’t >> seem like a serious issue. A 404 error is a perfectly valid response when an rtsp source is unavailable (during a power failure or mainten

Re: [Live-devel] [live555] doesn't call closeSockets after 404 File not found for rtsp over tcp

2020-02-26 Thread Ross Finlayson
You’re going to have to be more specific when describing this ‘problem’. Is the RTSP/RTP-over-TCP streaming occurring for the ‘back-end’ stream (i.e., you’re starting “live555ProxyServer” with the “-t” flag), or for a ‘front-end’ stream? And what socket (back-end? front-end?) is not being clos

[Live-devel] [live555] doesn't call closeSockets after 404 File not found for rtsp over tcp

2020-02-26 Thread Siddhant Agarwal
Hi, I am using Live555 proxyserver to proxy RTSP urls. If there is a 404 File Not found error for rtsp/rtp over tcp, it doesn't close the socket for the rtsp. If I try to establish a connection again with the proxy rtsp, it creates a new TCP socket connection. Thanks Siddhant