[Live-devel] about ServerMediaSession.cpp
Zhixue Zhang
zhangzx at rcs-9000.com
Thu Oct 27 22:33:19 PDT 2005
Hi, everyone,
I am debugging my program.
In the destructor of servermediasession.cpp, it seems that "fSubsessionsHead" should not be deleted.
In my class constructor:BasicTaskScheduler *scheduler,BasicUsageEnvironment *env, RTSPServer *rtspserver, ServerMediaSession *servermediasession, and MPEG4VideoFileServerMediaSubsession * sub are all "createNew"ed.
And in my destructor:
Medium::close(sub);
rtspServer->removeServerMediaSession( sms );
Medium::close( rtspServer );
env->reclaim();
delete scheduler;
Is it ok?
But in the ServerMediaSession's destructor, my class's destructor failed.
can anyone help me?
Thanks!
¡¡¡¡¡¡¡¡¡¡¡¡¡¡¡¡Zhixue Zhang
Nari-relays Electric Co. LTD
¡¡¡¡¡¡¡¡¡¡¡¡¡¡¡¡zhangzx at rcs-9000.com
¡¡¡¡¡¡¡¡¡¡¡¡¡¡¡¡¡¡¡¡2005-10-27
More information about the live-devel
mailing list