Page 1 of 1

VLC VOD server behind a router

Posted: 16 Dec 2008 11:20
by jgg
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.

Re: VLC VOD server behind a router

Posted: 16 Dec 2008 18:11
by Rémi Denis-Courmont
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.

Re: VLC VOD server behind a router

Posted: 16 Dec 2008 19:35
by jgg
So, could you please tell me how to solve it?


Thank you.

Re: VLC VOD server behind a router

Posted: 16 Dec 2008 19:54
by Rémi Denis-Courmont
Short of modifying the VLC source code, you cannot solve the problem.

Re: VLC VOD server behind a router

Posted: 17 Dec 2008 08:30
by jgg
Adding the server ports information in the convenient RTSP messages would suffice?