[Live-devel] reclamationTestSeconds in TCP
Ross Finlayson
finlayson at live555.com
Thu Jan 29 21:54:17 PST 2009
>>It's not your mistake. There is a known problem with the current
>>"LIVE555 Streaming Media" code: If RTP-over-TCP streaming is used,
>>then incoming RTSP commands (after the initial "PLAY") will not be
>>recognized by the server.
>
>Does the server ignore the "TEARDOWN" command too?
Yes.
>
>>In the meantime, if you want to use RTP-over-TCP streaming with our
>>server, then you should *not* send RTSP commands as 'keep alive'
>>indicators. Instead, you *must* send RTCP "RR" packets. Note that
>>RTCP is a *mandatory* part of the RTP specification, so if your
>>client does not send RTCP "RR" packets, then it is not in
>>compliance with the standard, and you cannot expect a
>>standards-compliant server to work with it.
>
>OK, the client I run is live555 RTSPClient. Where could I get an
>example about sending RTCP "RR" packet and writing its server side
>handler?
RTCP (including "RR" packets sent by the client) is implemented
automatically, by the "RTCPInstance" class. This gets created
automatically by the RTSP client. You don't need to do anything else
to get this!
(Why is it so hard for people to understand that we implement the
RTP/RTCP protocol ourself, and that developers do not need to concern
themselves with things like RTP timestamps, RTP sequence numbers, or
RTCP packets?)
--
Ross Finlayson
Live Networks, Inc.
http://www.live555.com/
More information about the live-devel
mailing list