[Live-devel] Dynamic Add/Remove session
Ryan Chong
fantasychong at yahoo.com
Mon Jul 11 19:18:31 PDT 2005
Hi Ross,
That really safe my day. It is a lot easier to monitor
it that way. Thanks a lot.
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?
Thanks again.
Regards,
Ryan
--- Ross Finlayson <finlayson at live.com> wrote:
> Note the optional parameter "reclamationTestSeconds"
> in
> "RTSPServer::createNew()". If this parameter is >0,
> it tells the server to
> reclaim state for any RTSP client for which no
> activity has been seen in
> the specified number of seconds.
>
> As of the latest "LIVE.COM Streaming Media" code
> release (2005.07.08),
> 'activity' includes both RTSP commands (over the
> RTSP TCP connection), and
> RTCP "Reception Report" (RR) messages.
>
> I suggest that you use this parameter (I suggest:
> set to some value >= 30
> seconds) if you want to ensure that server resources
> are reclaimed if a
> client should die without sending a proper RTSP
> "TEARDOWN" command. If you
> use this parameter, you probably won't need to add
> any extra code.
>
> (Plus, as I noted earlier, you can call
> "RTSPServer::removeServerMediaSession()" at any
> time, even if there is
> currently one or more clients connected.)
>
> 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
>
____________________________________________________
Sell on Yahoo! Auctions no fees. Bid on great items.
http://auctions.yahoo.com/
More information about the live-devel
mailing list