[Live-devel] Dynamic Add/Remove session

Ryan Chong fantasychong at yahoo.com
Wed Jul 13 02:37:19 PDT 2005


Ross, 

Thanks for the effort to clarify my doubt. It makes my
development more easy now.

Best Regards,
Ryan

--- Ross Finlayson <finlayson at live.com> wrote:

> 
> >Should I call the
> >"RTSPServer::removeServerMediaSession()" after I
> set
> >the "reclamationTestSeconds" in order for the
> server
> >to reclaim itself? or I could set the
> >"reclamationTestSeconds" and the server will
> reclaim
> >the resource itself after the specific times?
> 
> You should call
> "RTSPServer::removeServerMediaSession()" only if you
> want 
> to remove the stream *name* from the server - i.e,
> if you want to stop any 
> future clients from looking up this particular
> stream name.
> 
> The "reclamationTestSeconds" parameter is completely
> separate from 
> this.  If set (to some value > 0), then it ensures
> that the resources for 
> any ongoing stream (but *not* the
> "ServerMediaSession" object) will get 
> reclaimed even if the client does not do a proper
> RTSP "TEARDOWN".
> 
> 
> 	Ross Finlayson
> 	LIVE.COM
> 	<http://www.live.com/>
> 
> _______________________________________________
> live-devel mailing list
> live-devel at lists.live.com
> http://lists.live.com/mailman/listinfo/live-devel
> 



		
____________________________________________________
Start your day with Yahoo! - make it your home page
http://www.yahoo.com/r/hs
 


More information about the live-devel mailing list