[Live-devel] Memory leak in OnDemandServerMediaSubsession

Ross Finlayson finlayson at live555.com
Mon Jan 10 00:26:08 PST 2022



> On Jan 10, 2022, at 9:18 PM, Ba Jinsheng <bajinsheng at u.nus.edu> wrote:
> 
> Unfortunately, in my experimental environment, it looks unlikely that the objects are deleted, even after 60 seconds.

If you are running the unmodified LIVE555 server code, then the function
	GenericMediaServer::ClientSession::livenessTimeoutTask
	(“GenericMediaServer.cpp”, line 379)
should get called, for each session, after about 60 seconds of inactivity.  This should be reclaiming the state for the session.


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




More information about the live-devel mailing list