[Live-devel] need help to anderstand live555 RTSPServer part

Ross Finlayson finlayson at live555.com
Thu Oct 6 14:47:15 PDT 2005


>I don't understand why RTSPServer keeps subsessions when a client leave.

Because the "ServerMediaSession" (and "ServerMediaSubsession") 
objects do *not* represent per-client state.  Instead, they represent 
the state of a stream that can *potentially* be requested and 
streamed (possibly by multiple clients simultaneously) at any time in 
the future.

However, if you really want to remove a "ServerMediaSession" (and its 
associated "ServerMediaSubsession"s) from a RTSPServer, then do so 
using "RTSPServer::removeServerMediaSession()".


	Ross Finlayson
	Live Networks, Inc. (LIVE555.COM)
	<http://www.live555.com/>



More information about the live-devel mailing list