[Live-devel] Dynamic Add/Remove session

Ross Finlayson finlayson at live.com
Wed Jul 6 11:04:25 PDT 2005


>I am currently using the livemedia to develop my JPEG
>RTSP streaming. In my scenario, user will request a
>source dynamically, and they will left after some
>period of viewing.
>
>I am wondering, if I am able to know that for each
>source, if there is no client connecting to it, and
>that, the period of the idle time (no client
>connection).

Ryan,

You can call "RTSPServer::removeServerMediaSession()" at any time, even if 
there is currently one or more clients connected.  (Resources will not get 
reclaimed until the last client disconnects.)


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



More information about the live-devel mailing list