#Create a rtmp server install
Procure the RTMP module so Nginx can handle your media stream: sudo add-apt-repository universe sudo apt install libnginx-mod-rtmpĪdjust Nginx’s configuration so that it can accept and deliver your media stream. We’ll be using Nginx web server for this streaming server.
![create a rtmp server create a rtmp server](https://www.hostnextra.com/kb/wp-content/uploads/2020/09/setup-a-streaming-server-with-NGINX-RTMP.png)
Once the Ubuntu system boots up, install any updates that are available: Reboot the system after installation if it doesn’t do so automatically.You’ll probably want to set some static network settings since this is going to be used as a server. Fire up the Ubuntu installer and choose the settings that best fit your needs.For those who prefer a GUI option, Ubuntu Desktop is available. Ubuntu Linux is my personal favorite, so that will be the version of choice here. Video streams need to be encoded, transferred, buffered, and displayed, so expect the need for a bit of tweaking in the stream’s attributes. Just because you go live doesn’t mean that everything will line up perfectly. RTMP has broad support so we’ll focus on that for this article.Īnother thing to worry about is likely delays in your “live” streaming. Real-Time Messaging Protocol (RTMP) is a great choice but there are others, such as WebRTC, that might fare better in your situation.
![create a rtmp server create a rtmp server](https://apis.support.brightcove.com/assets/images/live-api/18697/block-diagram-small.png)
You’ll need to figure out which protocol will handle the audio and video portion of the streaming. However, there are no set rules on exactly what you’ll need in this regard, so do yourself a favor and experiment to see what works best for your goals. System requirements can also be seen as a concern.
![create a rtmp server create a rtmp server](https://reattendance.com/wp-content/uploads/2020/09/Step-5-Add-Destination-In-Streamyard.png)
First, what quality of stream are you looking for? Next, how many viewers do you expect to pull in? Where will you store all of your streamed content? Who will have access to that content? Before you begin setting up your own personal streaming server, you should ask yourself a few questions.