How to configure UDP port for RTSP session

For questions and discussion that is NOT (I repeat NOT) specific to a certain Operating System.
sophisticus
New Cone
New Cone
Posts: 2
Joined: 01 Jul 2008 09:57

How to configure UDP port for RTSP session

Postby sophisticus » 01 Jul 2008 10:50

Hello everybody

can somebody help me with pre-setting the UDP port for an rtsp stream in the VLC client?

What I wanted to do is to simply open a RTSP stream (via file-> network stream). The URL looks like
rtsp://xxxx:8553/filename.ts

when I look on the IP trace I see that the VLC is offering our streaming server for each session randomly a new port range. Unfortunately this is not very nice as I need to change always the NAT/Firewall settings on our internal office network so that a certain UDP port range is forwarded to my PC. And because VLC is changing it constantly I am a little bit lost.

So is there a possibility to set somewhere in VLC the UDP port for an RTSP stream?

rgds
Sven

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

Re: How to configure UDP port for RTSP session

Postby Rémi Denis-Courmont » 01 Jul 2008 17:00

There is an RTP client port setting in the preferences.
Rémi Denis-Courmont
https://www.remlab.net/
Private messages soliciting support will be systematically discarded

sophisticus
New Cone
New Cone
Posts: 2
Joined: 01 Jul 2008 09:57

Re: How to configure UDP port for RTSP session

Postby sophisticus » 02 Jul 2008 11:47

this setting is automatically disabled when you select RTSP and fill an URL. So that does not help :(

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

Re: How to configure UDP port for RTSP session

Postby Rémi Denis-Courmont » 02 Jul 2008 17:04

RTSP is not supposed to work through firewalls anyway.
Rémi Denis-Courmont
https://www.remlab.net/
Private messages soliciting support will be systematically discarded

realjobe
Cone that earned his stripes
Cone that earned his stripes
Posts: 175
Joined: 10 Feb 2008 15:40

Re: How to configure UDP port for RTSP session

Postby realjobe » 27 Jan 2011 09:06

I have the same problem.. VLC wants to open odd UDP ports to WAN when coming from behind router in WAN. Through 3G RTSP works great and with set-port.

what are the magic commadline parameters to produce proper tcp-suitable stream? :rtp.... ?


Return to “General VLC media player Troubleshooting”

Who is online

Users browsing this forum: No registered users and 46 guests