[Live-devel] UDP Instead of TCP

Ross Finlayson finlayson at live555.com
Tue Jul 31 04:15:39 PDT 2007


>Looking through the code while trying to build from scratch a custom
>rtsp command sender, it seems the libraries that come with Live555
>utilize TCP

RTSP (the control protocol) always uses TCP.  RTP (the audio/video 
data protocol) can use either UDP (the default), or TCP.

>  and are base64 encoded.

No, BASE-64 encoding is used only for RTSP-over-HTTP tunneling, not 
for the normal RTSP-over-TCP protocol

>   Is there a way to transport
>commands UDP and have the server respond?

No.  Noone ever implements RTSP-over-UDP (which was mentioned in the 
original RTSP specification), and it has been removed from the latest 
version of the RTSP specification.
-- 

Ross Finlayson
Live Networks, Inc.
http://www.live555.com/


More information about the live-devel mailing list