Page 1 of 1

rtsp server over the web

Posted: 12 Sep 2014 22:08
by groovecho
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!

Re: rtsp server over the web

Posted: 12 Sep 2014 22:37
by RĂ©mi Denis-Courmont
The most common trick is to use interleaved RTP. The VLC server does not support that.

Re: rtsp server over the web

Posted: 13 Sep 2014 02:53
by groovecho
got it. Thanks!

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