[vlc] trying to setup vod server through firewall

jason at monsterjam.org jason at monsterjam.org
Thu Nov 2 04:50:38 CET 2006


hey, im trying to set up a streaming vod server per the instructions at 
http://www.videolan.org/doc/streaming-howto/en/ch05.html
and I can get it to stream a mpeg from a linux server to a linux client just fine on 
a local network.

but when I run the vod server on a remote linux server thats behind a checkpoint 
firewall, It just doesnt work. heres the command im running on the server 
vlc --ttl 34 -vvv --color -I telnet --telnet-password videolan --rtsp-host 
0.0.0.0:8080

and I do 
new test vod enabled
setup test input snow001.mpeg
into the telnet interface

and heres what I get on the client when I try to play that vod remotely.

 vlc rtsp://badger:8080/test
VLC media player 0.8.5 Janus
Sending request: OPTIONS rtsp://badger:8080/test RTSP/1.0
CSeq: 1
User-Agent: VLC media player (LIVE555 Streaming Media v2005.11.10)


Received OPTIONS response: RTSP/1.0 200 Ok
Cseq: 1
Server: VLC Server
Public: DESCRIBE, SETUP, TEARDOWN, PLAY, PAUSE
Content-Length: 0


Sending request: DESCRIBE rtsp://badger:8080/test RTSP/1.0
CSeq: 2
Accept: application/sdp
User-Agent: VLC media player (LIVE555 Streaming Media v2005.11.10)


Received DESCRIBE response: RTSP/1.0 200 OK
Content-type: application/sdp
Server: VLC Server
Content-Length: 295
Cseq: 2
Cache-Control: no-cache


Need to read 295 extra bytes
Read 295 extra bytes: v=0
o=- 1162438943999053 3 IN IP4 10.1.22.44
t=0 0
a=tool:vlc 0.8.4a
c=IN IP4 0.0.0.0
a=range:npt=0-37.141
m=video 0 RTP/AVP 32
a=rtpmap:32 MPV/90000
a=control:rtsp://0.0.0.0:8080/test/trackid=0
m=audio 0 RTP/AVP 14
a=rtpmap:14 MPA/90000
a=control:rtsp://0.0.0.0:8080/test/trackid=1

Sending request: SETUP rtsp://0.0.0.0:8080/test/trackid=0 RTSP/1.0
CSeq: 3
Transport: RTP/AVP;unicast;client_port=1556-1557
User-Agent: VLC media player (LIVE555 Streaming Media v2005.11.10)


Received SETUP response: RTSP/1.0 200 OK
Transport: RTP/AVP/UDP;client_port=1556-1557
Server: VLC Server
Content-Length: 0
Cseq: 3
Cache-Control: no-cache
Session: 1804289383


Sending request: SETUP rtsp://0.0.0.0:8080/test/trackid=1 RTSP/1.0
CSeq: 4
Transport: RTP/AVP;unicast;client_port=1558-1559
Session: 1804289383
User-Agent: VLC media player (LIVE555 Streaming Media v2005.11.10)


Received SETUP response: RTSP/1.0 200 OK
Transport: RTP/AVP/UDP;client_port=1558-1559
Server: VLC Server
Content-Length: 0
Cseq: 4
Cache-Control: no-cache
Session: 1804289383


Sending request: PLAY rtsp://badger:8080/test RTSP/1.0
CSeq: 5
Session: 1804289383
Range: npt=0.000-
User-Agent: VLC media player (LIVE555 Streaming Media v2005.11.10)


Received PLAY response: RTSP/1.0 200 OK
Server: VLC Server
Content-Length: 0
Cseq: 5
Cache-Control: no-cache
Session: 1804289383;timeout=5


Sending request: TEARDOWN rtsp://badger:8080/test RTSP/1.0
CSeq: 6
Session: 1804289383
User-Agent: VLC media player (LIVE555 Streaming Media v2005.11.10)


Received TEARDOWN response: RTSP/1.0 200 OK
Server: VLC Server
Content-Length: 0
Cseq: 6
Cache-Control: no-cache
Session: 1804289383;timeout=5


Sending request: OPTIONS rtsp://badger:8080/test RTSP/1.0
CSeq: 7
User-Agent: VLC media player (LIVE555 Streaming Media v2005.11.10)


Received OPTIONS response: RTSP/1.0 200 Ok
Cseq: 7
Server: VLC Server
Public: DESCRIBE, SETUP, TEARDOWN, PLAY, PAUSE
Content-Length: 0


Sending request: DESCRIBE rtsp://badger:8080/test RTSP/1.0
CSeq: 8
Accept: application/sdp
User-Agent: VLC media player (LIVE555 Streaming Media v2005.11.10)


Received DESCRIBE response: RTSP/1.0 200 OK
Content-type: application/sdp
Server: VLC Server
Content-Length: 295
Cseq: 8
Cache-Control: no-cache


Need to read 295 extra bytes
Read 295 extra bytes: v=0
o=- 1162438943999053 3 IN IP4 10.1.22.44
t=0 0
a=tool:vlc 0.8.4a
c=IN IP4 0.0.0.0
a=range:npt=0-37.141
m=video 0 RTP/AVP 32
a=rtpmap:32 MPV/90000
a=control:rtsp://0.0.0.0:8080/test/trackid=0
m=audio 0 RTP/AVP 14
a=rtpmap:14 MPA/90000
a=control:rtsp://0.0.0.0:8080/test/trackid=1

Sending request: SETUP rtsp://0.0.0.0:8080/test/trackid=0 RTSP/1.0
CSeq: 9
Transport: RTP/AVP/TCP;unicast;interleaved=0-1
User-Agent: VLC media player (LIVE555 Streaming Media v2005.11.10)


Received SETUP response: RTSP/1.0 461 Unsupported Transport
Server: VLC Server
Content-Length: 0
Cseq: 9
Cache-Control: no-cache


Sending request: SETUP rtsp://0.0.0.0:8080/test/trackid=1 RTSP/1.0
CSeq: 10
Transport: RTP/AVP/TCP;unicast;interleaved=2-3
User-Agent: VLC media player (LIVE555 Streaming Media v2005.11.10)


Received SETUP response: RTSP/1.0 461 Unsupported Transport
Server: VLC Server
Content-Length: 0
Cseq: 10
Cache-Control: no-cache


[00000278] livedotcom demuxer error: PLAY failed No RTSP session is currently in 
progress

[00000278] livedotcom demuxer error: TCP rollover failed, aborting
[00000267] main playlist: nothing to play


and on the server, I see the following:

[00000340] access_output_udp private warning: send error: Connection refused
[00000337] access_output_udp private warning: send error: Connection refused
[00000337] access_output_udp private warning: send error: Connection refused
[00000337] access_output_udp private warning: send error: Connection refused
[00000337] access_output_udp private warning: send error: Connection refused
[00000337] access_output_udp private warning: send error: Connection refused
[00000337] access_output_udp private warning: send error: Connection refused
[00000340] access_output_udp private warning: send error: Connection refused


what do I need to do to get this to work?

regards,
Jason

-- 
This is the vlc mailing-list, see http://www.videolan.org/vlc/
To unsubscribe, please read http://www.videolan.org/support/lists.html



More information about the vlc mailing list