rtsp server over the web

About encoding, codec settings, muxers and filter usage
groovecho
New Cone
New Cone
Posts: 4
Joined: 11 Sep 2014 02:52

rtsp server over the web

Postby groovecho » 12 Sep 2014 22:08

I'm having a lot of trouble with the examples provided to do rtsp streams over the net.

Using sout like so:

--sout='#rtp{dst=0.0.0.0,sdp=rtsp://:1337/social.sdp,rtcp-mux}'

Works fine when on the same network but not over the net. The issue is obvious, the server tries to connect back to the client on port 5004. That's not going to work to an AT&T-connected smartphone.

Obviously there are rtsp streams all over the internet. What's the trick to drop the server -> client callback? I've tried with and without rtcp-mux. I'm not interested in doing #standard{access=http}. Anything to push me in the right direction is greatly appreciated.

thanks!

Rémi Denis-Courmont
Developer
Developer
Posts: 15266
Joined: 07 Jun 2004 16:01
VLC version: master
Operating System: Linux
Contact:

Re: rtsp server over the web

Postby Rémi Denis-Courmont » 12 Sep 2014 22:37

The most common trick is to use interleaved RTP. The VLC server does not support that.
Rémi Denis-Courmont
https://www.remlab.net/
Private messages soliciting support will be systematically discarded

groovecho
New Cone
New Cone
Posts: 4
Joined: 11 Sep 2014 02:52

Re: rtsp server over the web

Postby groovecho » 13 Sep 2014 02:53

got it. Thanks!

I'll check out gstreamer to see if I can get it done there. Much appreciated.


Return to “VLC stream-output (sout)”

Who is online

Users browsing this forum: No registered users and 10 guests