[Live-devel] Memory leak in OnDemandServerMediaSubsession

Ba Jinsheng bajinsheng at u.nus.edu
Mon Jan 10 03:58:05 PST 2022


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-bounces at us.live555.com> On Behalf Of Ross Finlayson
Sent: Monday, January 10, 2022 4:26 PM
To: LIVE555 Streaming Media - development & use <live-devel at us.live555.com>
Subject: Re: [Live-devel] Memory leak in OnDemandServerMediaSubsession

        - External Email -



> 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/


_______________________________________________
live-devel mailing list
live-devel at lists.live555.com
http://lists.live555.com/mailman/listinfo/live-devel



More information about the live-devel mailing list