Page 1 of 1

Simple rtsp streaming

Posted: 01 Aug 2012 13:20
by gregfr
Hello

I'm trying to stream from a server to a client; I tried:

Code: Select all

server> cvlc -vv --sout "#rtp{sdp=rtsp://IP_server:1234/s}" media.mp4
The port is opened correctly:

Code: Select all

tcp 0 0 IP_server:1234 0.0.0.0:* LISTEN 4586/vlc
if I try to watch the stream on the server it works:

Code: Select all

server> vlc rtsp://IP_server:1234/s
if I try from my client, I can see the connection:

Code: Select all

[0x8d5dc08] main stream out debug: net: connecting to [IP_client]:36077 from [IP_server]:49443
Using TCP dump I can see packets going in and out.

But the video is not played...

If I try:

server> cvlc media.mp4 --sout '#standard{access=http,mux=ts,dst=IP_server:8181}'

I can see the video from the client.

No firewall on either side.

What am I doing wrong??

TIA

greg

Re: Simple rtsp streaming

Posted: 02 Aug 2012 11:19
by gregfr

Re: Simple rtsp streaming

Posted: 02 Aug 2012 11:27
by gregfr
Why does vlc (as a streaming server) needs a port opened on the client's router where some other servers don't?