Simple rtsp streaming

*nix specific usage questions
gregfr
Blank Cone
Blank Cone
Posts: 13
Joined: 17 Nov 2010 00:52

Simple rtsp streaming

Postby gregfr » 01 Aug 2012 13:20

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

gregfr
Blank Cone
Blank Cone
Posts: 13
Joined: 17 Nov 2010 00:52

Re: Simple rtsp streaming

Postby gregfr » 02 Aug 2012 11:19


gregfr
Blank Cone
Blank Cone
Posts: 13
Joined: 17 Nov 2010 00:52

Re: Simple rtsp streaming

Postby gregfr » 02 Aug 2012 11:27

Why does vlc (as a streaming server) needs a port opened on the client's router where some other servers don't?


Return to “VLC media player for Linux and friends Troubleshooting”

Who is online

Users browsing this forum: No registered users and 34 guests