How to set up your own private RTMP server using nginx

How to set up your own private RTMP server using nginx

Reviews 4.56 star(s) 40 reviews

This worked well for me, but the document can be updated in one respect: It is not necessary to compile Nginx, because libnginx-mod-rtmp can be installed from the repositories (at least with Ubuntu). So nginx and the mod can be installed with apt.
Also another problem might occur: One of our favorite live platforms ;) Facebook does only accept RTMPS connections which Nginx does not support. This problem can be solved using Stunnel, here is a good documentation: https://sites.google.com/view/facebook-rtmp-to-rtmps/home
I set this up on my Odroid HC2. Because I have OMV running and access it with port 80, I had to change the default listen port from port 80 to something else. I can still use my Odroid's internet IP address in the rtmp link in OBS to successfully stream. So, like, rtmp://192.168.1.54/live. I have a dynamic dns setup to access the Odroid HC2 server, but when I go use rtmp://dynamicdns.address.com/live in OBS, it does not work. What do I need to do (port forwarding, whatever) to stream remotely?
Great guide but for some reason I'm running into the same issue as another. When I stream my CPU usage goes just as high as when I'm streaming normally to twitch.
I couldn't get this to work because I was using a network bridge, but my friend who wasn't got his to work fine. I guess just keep that inmind if you're doing this.
Back
Top