This guide will explain how to setup your own streaming server on ubuntu.
Firstly, we'll need to compile nginx with the nginx-rtmp-module.
We recommend using this forked module. it's being actively worked on and contains more fixes and improvements over the original one