[Live-devel] what modifications I need to do if I want to
send RTP & RTCP data over TCP instead of UDP:
Ross Finlayson
finlayson at live.com
Sat Mar 6 09:25:43 PST 2004
At 03:51 AM 3/6/04, you wrote:
>Hi All,
> I want to use TCP instead of UDP for RTP and RTCP data
> transfer. What modifications I need to do both at client side and server side.
If you are already using the built-in RTSP server for unicast streaming
(e.g., as demonstrated by the "testOnDemandRTSPServer" test program), then
it will automatically send its RTP and RTCP packets over TCP, if the RTSP
client requests it. I.e., you don't need to modify any of the code.
A RTSP client can request RTP-over-TCP streaming by setting the
"streamUsingTCP" flag in "RTSPClient::setupMediaSubsession()". (See, for
example, the implementation of the "-t" flag in "openRTSP".)
Ross Finlayson
LIVE.COM
<http://www.live.com/>
More information about the live-devel
mailing list