[Live-devel] Dynamic Add/Remove session
Ryan Chong
fantasychong at yahoo.com
Thu Jul 7 02:50:13 PDT 2005
Dear Ross,
Thanks for replying.
I am thinking in the situation that, there might be
network connection issue, which drop the client
connection from the server. In this case, it will be
better to keep the RTSP stream alive so the client
could reconnect back later with the same URL.
However, there might also be case that the client left
without acknowledging the server, i.e., system crash.
In this condition, the server will not be able to know
if the client is having network problem, or it just
died of somehow. From the first situation, the server
will still keep the stream alive, waiting for client's
reconnection. So, I hope that there is a way that we
could know the stream idle time, so that we could kill
the stream if the idle time exceed a period.
Hope this does not trouble you much.
Regards,
Ryan
--- Ross Finlayson <finlayson at live.com> wrote:
>
> >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/>
>
> _______________________________________________
> 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