How to force RTSP access module on UDP transport

For questions and discussion that is NOT (I repeat NOT) specific to a certain Operating System.
yunfan
New Cone
New Cone
Posts: 1
Joined: 18 Oct 2010 02:23

How to force RTSP access module on UDP transport

Postby yunfan » 18 Oct 2010 02:36

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

Rémi Denis-Courmont
Developer
Developer
Posts: 15326
Joined: 07 Jun 2004 16:01
VLC version: master
Operating System: Linux
Contact:

Re: How to force RTSP access module on UDP transport

Postby Rémi Denis-Courmont » 18 Oct 2010 19:25

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.
Rémi Denis-Courmont
https://www.remlab.net/
Private messages soliciting support will be systematically discarded


Return to “General VLC media player Troubleshooting”

Who is online

Users browsing this forum: No registered users and 75 guests