I see. After careful debugging, I found that all sessions are kept active in my environment. It should be a corner case of usage.
Thanks. Best regards, Jinsheng Ba -----Original Message----- From: live-devel <live-devel-boun...@us.live555.com> On Behalf Of Ross Finlayson Sent: Monday, January 10, 2022 4:26 PM To: LIVE555 Streaming Media - development & use <live-de...@us.live555.com> Subject: Re: [Live-devel] Memory leak in OnDemandServerMediaSubsession - External Email - > On Jan 10, 2022, at 9:18 PM, Ba Jinsheng <bajinsh...@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/ _______________________________________________ live-devel mailing list live-devel@lists.live555.com http://lists.live555.com/mailman/listinfo/live-devel _______________________________________________ live-devel mailing list live-devel@lists.live555.com http://lists.live555.com/mailman/listinfo/live-devel