[Live-devel] about ServerMediaSession.cpp

Zhixue Zhang zhangzx at rcs-9000.com
Fri Oct 28 12:50:17 PDT 2005


Hi, Ross Finlayson,

According to you recommendations, it seems to do some modification:
1.In the RTSPServer::removeServerMediaSession  of RTSPServer.cpp, 
replace "delete serverMediaSession;" with "Medium::close( serverMediaSession );"
2. In the Servermeidiasession.cpp,

	In the ServerMediaSession::~ServerMediaSession(), replace "delete fSubsessionsHead;" with"Medium::close( fSubsessionsHead );";
	And in the ServerMediaSubsession::~ServerMediaSubsession() , replace "delete fNext;" with "Medium::close(fNext);".

I am not sure it is more reasonable. 

Welcome more idea.
				 
¡¡¡¡¡¡¡¡¡¡¡¡¡¡¡¡Zhixue Zhang
¡¡¡¡¡¡¡¡¡¡¡¡¡¡¡¡zhangzx at rcs-9000.com
¡¡¡¡¡¡¡¡¡¡¡¡¡¡¡¡¡¡¡¡2005-10-28







More information about the live-devel mailing list