Simple rtsp streaming
Posted: 01 Aug 2012 13:20
Hello
I'm trying to stream from a server to a client; I tried:
The port is opened correctly:
if I try to watch the stream on the server it works:
if I try from my client, I can see the connection:
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
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
Code: Select all
tcp 0 0 IP_server:1234 0.0.0.0:* LISTEN 4586/vlc
Code: Select all
server> vlc rtsp://IP_server:1234/s
Code: Select all
[0x8d5dc08] main stream out debug: net: connecting to [IP_client]:36077 from [IP_server]:49443
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