VLC VOD server behind a router

About encoding, codec settings, muxers and filter usage
jgg
Cone that earned his stripes
Cone that earned his stripes
Posts: 144
Joined: 03 Nov 2007 15:49

VLC VOD server behind a router

Postby jgg » 16 Dec 2008 11:20

Hi,

I have been trying VLM-based VoD for some time in a LAN or in a WAN and everything worked fine. Now I'm trying to get a more realistic testbed where the server is in a WAN and streams to computers in a LAN network. I have been experiencing some problems with this and I have search through this forum to get the answer, but I couldn't find nothing specific nor updated news.

So, when starting VLC to play a VoD stream served from a server behind the router I get these errors:

Code: Select all

[00000424] live555 demux error: SETUP of'video/MPV' failed SETUP: cannot handle response: RTSP/1.0 461 Unsupported transport [00000424] live555 demux error: SETUP of'audio/MPA' failed SETUP: cannot handle response: RTSP/1.0 461 Unsupported transport [00000424] live555 demux error: Nothing to play for rtsp://147.83.47.178:60100/rock_GARBAGE_medium [00000424] live555 demux error: TCP rollover failed, aborting
In the RTSP SETUP messages the Transport field has changed from the LAN-based system, now with the value:

Transport: RTP/AVP/TCP;unicast;interleaved=0-1

I have read that this is caused by the client trying to use RTP over TCP and interleaved RTSP, but I haven't changed VLC options since LAN-based testbed. Can this be caused by having a router/firewall between the server and the client?

I have not opened any port in the router, but I don't know how this affects VLC's behaviour. I have also read (in a thread from 2007) that VLC doesn't support NAT. Is this still true? Can anything be done to use VLC in a testbed like this I'm using?


Thank you all.

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

Re: VLC VOD server behind a router

Postby Rémi Denis-Courmont » 16 Dec 2008 18:11

First, there is nothing special about running VLC behind a router. The Internet is made of routers.

Second, no VLC RTSP server does not support NAT.
Rémi Denis-Courmont
https://www.remlab.net/
Private messages soliciting support will be systematically discarded

jgg
Cone that earned his stripes
Cone that earned his stripes
Posts: 144
Joined: 03 Nov 2007 15:49

Re: VLC VOD server behind a router

Postby jgg » 16 Dec 2008 19:35

So, could you please tell me how to solve it?


Thank you.

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

Re: VLC VOD server behind a router

Postby Rémi Denis-Courmont » 16 Dec 2008 19:54

Short of modifying the VLC source code, you cannot solve the problem.
Rémi Denis-Courmont
https://www.remlab.net/
Private messages soliciting support will be systematically discarded

jgg
Cone that earned his stripes
Cone that earned his stripes
Posts: 144
Joined: 03 Nov 2007 15:49

Re: VLC VOD server behind a router

Postby jgg » 17 Dec 2008 08:30

Adding the server ports information in the convenient RTSP messages would suffice?


Return to “VLC stream-output (sout)”

Who is online

Users browsing this forum: Bing [Bot] and 2 guests