Use this script to automate the setup of a live-stream server on Ubuntu 22.04

What the script does, is build a decent live-stream server for you, from scratch, on a machine running on Ubuntu 22.04. The live-stream server will be fully configured and work out-of-the-box, with an RTMP entry to send your stream to, Adaptive bitrate streaming for the viewers in HLS and/or DASH formats. A webpage with a very basic video player is also included, and a simple /stat page can be used to display some data on the live-streams. To top it all off, I included a couple of pointers that will help you on your way in this environment.