[Live-devel] Streaming only with pre-choosen protocols

Emiliano Parasassi millallo at gmail.com
Mon Nov 14 11:23:11 PST 2005


Hi Ross,
I'm studing a way to implement in RTSPServer a way to allow unicast
streaming only with transport protocol passed to constructor (RTP/UDP,
RTP/TCP, RAW/UDP...), so i can force to stream only with RTP/TCP in
case clients are behind a firewall(very often).

Unfortunately in the rfc 2327 (sdp), the Media Announcement (m=) doesn't
seems to be so flexible(as i understood), because the 'RTP/AVP' means
both UDP and TCP. So when client receives the sdp in the response of its
DESCRIBE, can always choose a UDP instead of TCP. The rollover mechanism
(try UDP, if it fails try TCP, if it fails try ...) in the client my be
non implemented, as in RTSPClient(as i understood), and be very slow.

Does the RTP/AVP/TCP and other combinations be permitted in sdp Media
Announcemnt in response of RTSP DESCRIBE command? Is legal to allow only
TCP streaming instead of both UDP and TCP?

Thanks
Emiliano


More information about the live-devel mailing list