[Libav-user] Pushing RTMPS stream to a streaming server

Rubén Sánchez ruben.sanchez at telescope.tv
Tue Oct 17 17:34:39 EEST 2017


Hi,

From my experience, you can stream out content using RTMPS. The only thing you need is changing the remote endpoint protocol to “rtmps://”, libavformat does all the work for you. But, this requires a certificate on the remote endpoint where you are streaming to. I streamed using FFmpeg to Facebook like this and to a locally running CRTMPServer but in this second case I needed to set up a SSL sertificate file on CRTMPServer (I soppose then Facebook has its own SSL certificate on their endpoint). Regarding your setup, then you need to set up the certificate on the Wowza side.

The other way around, listening for incoming RTMPS streams I think is not available at this moment.

Hope it helps.

Rubén Sánchez Castellano
Senior Programmer
Telescope Inc Barcelona


From: Libav-user <libav-user-bounces at ffmpeg.org> on behalf of black copper <blackcopper1 at gmail.com>
Reply-To: "This list is about using libavcodec, libavformat, libavutil, libavdevice and libavfilter." <libav-user at ffmpeg.org>
Date: Friday, 13 October 2017 at 09:33
To: "This list is about using libavcodec, libavformat, libavutil, libavdevice and libavfilter." <libav-user at ffmpeg.org>
Subject: Re: [Libav-user] Pushing RTMPS stream to a streaming server


I want to push an RTMPS stream to Wowza streaming server, from inside an ARM device (IP Camera).

I can push RTMP stream like this:

ffmpeg  -rtsp_transport tcp -i rtsp://127.0.0.1/channel1<http://127.0.0.1/channel1> -c copy -f flv rtmp://[ip]:1935/live/rtmp_test

This works perfectly fine. Now, I have read in FFmpeg docs:

https://www.ffmpeg.org/ffmpeg-protocols.html#tls

that I can actually push an stream using a certificate.

I would like to know if anyone has already done this before, as with documentation so far (both Wowza and FFmpeg), I am still struggling to get this working.



Hi All

*bump email*

-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://ffmpeg.org/pipermail/libav-user/attachments/20171017/f3b72657/attachment.html>


More information about the Libav-user mailing list