To start NGINX server run command: # /usr/local/nginx/sbin/nginxĮdit NGINX configuration file with any text editor: # vim /usr/local/nginx/conf/nginx. configure -with-http_ssl_module -add-module=nginx-rtmp-module/ Build NGINX and Install NGINX # make
#Run an rtmp server how to
Now lets compile NGINX with nginx-rtmp-module and http_ssl modules: #. How to Make a Private RTMP Server & Re-Stream to Twitch, YouTube, etc from your WINDOWS machine, in another video I will show you how to setup your own RTMP. The primary role of RTMP was to enable the smooth transmission of increased amounts of data, which was needed to play video on Adobe’s Flash Player.
![run an rtmp server run an rtmp server](https://i.ytimg.com/vi/i8i7a93XLBE/maxresdefault.jpg)
It is a TCP-based protocol developed by Macromedia (Adobe) in 2002 to stream audio, video, and data over the internet. Goto NGINX sources directory # cd nginx-1.18.0Ĭlone the NGINX RTMP Module from GitHub # git clone COMPILE AND BUILD NGINX RTMP stands for Real-Time Messaging Protocol. # wget Īnd unpack it: # tar xvfz nginx-1.18.0.tar.gz # apt-get install build-essential libpcre3 libpcre3-dev libssl-dev zlibc zlib1g zlib1g-devĭownload NGINX most recent version (in our case it’s nginx-1.18.0). The two parts include: Remote RTMP Server PC Runs Dlive Protocol Runs nginx to listen for RTMP data and sends to Dlive Protocol.
![run an rtmp server run an rtmp server](https://miro.medium.com/max/640/1*0gK0N6W1928fGEuSGxVunw.jpeg)
Its particularly useful if the RTMP server machine has a higher available upload bandwidth. Go to the installation directory /usr/local/nginx and run the command. The advantage of a remote RTMP server is the networking resources for streaming is separated out from the gaming machine. Publish RTMP Stream to NGINX server live locationįirst update your Linux and install all necessary dependencies: # apt-get -y update Use nginx to build RTMP video on demand, live broadcast, HLS server. Unable to use NGINX RTMP Streaming Server with Stream Im trying to set up a NGINX RTMP on a VM to distribute a stream to multiple endpoints at the same time.
![run an rtmp server run an rtmp server](https://www.nirsoft.net/utils/rtmpdumphelper3.png)
Install all necessary dependencies for building NGINX and RTMP moduleĭownload sources, unpack, compile NGINX with nginx-rtmp-module and http_ssl modulesĮdit NGINX configuration and add RTMP section for enable RTMP live service, start server How to install nginx-rtmp-module on Ubuntu