I try to do a vod server on rtsp with vlc. But it works on a LAN but if i try to access to it behind router it
doesn't work.
Server :
Telnet:vlc --ttl 12 -vvv --color -I telnet --telnet-password videolan --rtsp-host
IP_du_serveur_sur_lequel_je_travaille:8000
client:new film vod enabled
setup film input emplacement_sur_le_serveur_du_fichier_que_je_veux_lire
on server:vlc rtsp://IP_du_serveur_sur_lequel_je_travaille:8000/film
on client:peek=SETU
received new request=SETUP rtsp://IP_du_serveur_sur_lequel_je_travaille:8000/film/trackid=1 RTSP/1.0
CSeq: 10
Transport: RTP/AVP/TCP;unicast;interleaved=2-3
User-Agent: VLC Media Player (LIVE.COM Streaming Media v2005.03.31)
received new request
- proto=RTSP
- version=0
- msg=8
- url=/film/trackid=1
- option name='CSeq' value='10'
- option name='Transport' value='RTP/AVP/TCP;unicast;interleaved=2-3'
- option name='User-Agent' value='VLC Media Player (LIVE.COM Streaming Media v2005.03.31)'
RtspCallback query: type=8
HTTPD_MSG_SETUP: transport=RTP/AVP/TCP;unicast;interleaved=2-3
sending answer
RTSP/1.0 400 Bad Request
Server: VLC Server
Content-Length: 0
Cseq: 10
Cache-Control: no-cache
[00000257] main private debug: connection closed(MonIP)
Someone can help me?Sending request: SETUP rtsp://IP_du_serveur_sur_lequel_je_travaille:8000/film/trackid=1 RTSP/1.0
CSeq: 10
Transport: RTP/AVP/TCP;unicast;interleaved=2-3
User-Agent: VLC Media Player (LIVE.COM Streaming Media v2005.03.31)
Received SETUP response: RTSP/1.0 400 Bad Request
Server: VLC Server
Content-Length: 0
Cseq: 10
Cache-Control: no-cache
[00000254] livedotcom demuxer error: PLAY failed No RTSP session is currently in progress
[00000254] livedotcom demuxer error: TCP rollover failed, aborting
[00000246] main playlist: nothing to play
Thanks