Page 1 of 1

How to force RTSP access module on UDP transport

Posted: 18 Oct 2010 02:36
by yunfan
Hi there,
I'v implemented a simple rtsp server(streaming H.264 baseline video + mulaw audio) in a wince device
which supports udp unicast only. the vlc player works in my desktop box. but some of my users complained
that they can only get audio but no video at all. after checking the messages sent from vlc, i found that
vlc sends the rtsp "SETUP" command with "interleaved" option in "Transport" section, which my rtsp streaming
server doesn't support.

my question is, is there any way to force vlc to use udp receiving mode instead of tcp(interleaved) mode?
or any thoughts on what causes vlc to use tcp mode instead of udp mode?


very appreciated if any advise or hint.


yunfan

Re: How to force RTSP access module on UDP transport

Posted: 18 Oct 2010 19:25
by RĂ©mi Denis-Courmont
VLC tries UDP unicast first, and falls back to TCP interleaved only if that fails. This typically happens because of firewall or NAT issues. Some users might have configured VLC to try TCP first though.