RTSP handshaking delay

For questions and discussion that is NOT (I repeat NOT) specific to a certain Operating System.
cctvcam
Blank Cone
Blank Cone
Posts: 29
Joined: 20 Jul 2010 15:29

RTSP handshaking delay

Postby cctvcam » 14 Sep 2010 11:56

I am using VLC to access an RTSP stream over the network. When I connect from a client via a firewall that has all ports open from client -> server I experience a startup delay of 12 sec. If I try the same from a client on the same subnet then the delay is only 1sec.

Monitoring the firewall I can see VLC is accessing 5 times on UDP port 4893 and getting a "Close - ICMP Unreach" log entries.

What is vlc trying to do on this port and would this cause delays through networks + firewalls?

The ping and trace routes are reporting <1ms response times, and only 1 hop. The network guys say its something at the application level.

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

Re: RTSP handshaking delay

Postby Rémi Denis-Courmont » 15 Sep 2010 03:25

Because RTSP transmits data over UDP by default.
Rémi Denis-Courmont
https://www.remlab.net/
Private messages soliciting support will be systematically discarded

cctvcam
Blank Cone
Blank Cone
Posts: 29
Joined: 20 Jul 2010 15:29

Re: RTSP handshaking delay

Postby cctvcam » 15 Sep 2010 11:02

thanks for the reply, but why udp from vlc to server cause cause a delay through an open firewall/network rather than on a local subnet?

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

Re: RTSP handshaking delay

Postby Rémi Denis-Courmont » 16 Sep 2010 03:04

Because network address translation and/or firewalling is blocking the UDP stream.
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 32 guests