[Live-devel] RTCP timeout
Ross Finlayson
finlayson at live555.com
Thu Apr 23 19:28:47 PDT 2009
>RTSPClient doesn't support the client timeout directly, so you have to wrap it
>(eg. subclass it) and schedule/reschedule your own task to do that.
No, you don't need to do that.
Instead, you can arrange for a 'liveness indicator' function (that
you would write) to be called each time your client receives a RTCP
"SR" packet from the server. Call:
RTCPInstance:: setSRHandler()
to schedule this.
If your function stops getting called after 30 seconds or so, then
you know that the stream has died.
--
Ross Finlayson
Live Networks, Inc.
http://www.live555.com/
More information about the live-devel
mailing list