[Live-devel] About RTSPServer

Ross Finlayson finlayson at live555.com
Thu May 19 11:22:13 PDT 2011


>How do I stop RTSP Server(live555MediaServer.exe) except terminating 
>live555MediaServer.exe?

There's nothing wrong with just terminating the "live555MediaServer" 
application?  This will remove the process, and the operating system 
will do all cleanup necessary (reclaiming memory, closing sockets, 
etc.).  That's what operating systems are for.

If, however, you have a "RTSPServer" object running within an 
application (i.e. process), and you want to delete (and reclaim) this 
"RTSPServer" object - while keeping the rest of the process running - 
then you can do this simply by calling
	Medium::close(pointerToYourRTSPServerObject);
You don't need to modify any of the supplied code.
-- 

Ross Finlayson
Live Networks, Inc.
http://www.live555.com/


More information about the live-devel mailing list