[Live-devel] ending RTSPServer application

Ross Finlayson finlayson at live.com
Thu Sep 1 08:58:49 PDT 2005


>rtspServer->addServerMediaSession(sms);
>
>
>
>env->taskScheduler().doEventLoop(); // return on a specific windoze event

call
         rtspServer->removeServerMediaSession(sms);
here.

>
>
>Medium::close(rtspServer);
>
>env->reclaim(); //does not perform 'delete this'
>
>delete scheduler;

This is OK.


	Ross Finlayson
	LIVE.COM
	<http://www.live.com/>



More information about the live-devel mailing list