[Live-devel] Potential memory leak and incomplete response if client disconnects while streaming HLS

Ross Finlayson finlayson at live555.com
Wed Mar 11 00:57:26 PDT 2020



> On Mar 11, 2020, at 2:23 PM, Bruce Liang <Bruce.Liang at abilitycorp.com.tw> wrote:
> 
> It will be great if there is still an option(RTSPServerSupportingHTTPStreaming)
> for sending HLS segment in a way which is relatively simple comparing to having a standalone webserver.

I now disagree with this.  Having a separate, dedicated web server (e.g., Apache, which is freely available) is better than trying to integrate HTTP server functionality into the LIVE555 server.  A dedicated HTTP server provides lots of functionality - e.g., load balancing, authentication, logging - that would be difficult for us to reimplement in our own code.

Also, we now have tools that can create HLS segments from a H.264 Elementary Stream file, or (on demand) from a H.264 RTSP source.

Therefore, for implementing HLS, I will soon be removing the “RTSPServerSupportingHTTPStreaming” functionality from the “LIVE555 Media Server”, and from the LIVE555 codebase.

I may also remove the code that implements the “TCPStreamSink” class - as this is used only to implement “RTSPServerSupportingHTTPStreaming”.  (But, if anyone has their own use for “TCPStreamSink”, and would like it to stay, then please let us know ASAP.)


Ross Finlayson
Live Networks, Inc.
http://www.live555.com/




More information about the live-devel mailing list