Fire up the FreeBSD installer on your computer or virtual machine and go through the initial steps and choose settings that best match your environment. Head on over to the FreeBSD website and download the latest release. If you're of the "beastie" persuasion, getting a streaming server up and running is also devilishly easy. However, before you can begin your first stream, you'll need to restart Nginx with its new configuration: sudo systemctl restart nginx Setting up a BSD server You'll add to this config later, but this is a great starting point. This is a very minimal config that will create a working streaming server. In Nano, you can save your config by pressing Ctrl+X, Y, and then Enter. Because I'm a heretic, I use Nano for editing configuration files. Note: Because this is a server, you'll probably want to set some static network settings. Then, I fired up the Ubuntu installer on my computer or virtual machine and chose the settings that best matched my environment. If you prefer your server to have a graphical user interface (GUI), feel free to use Ubuntu Desktop or one of its many flavors. You can use many different distributions of Linux, but I prefer Ubuntu, so I downloaded the Ubuntu Server edition for my operating system. The delay can be shortened or lengthened depending on the type of stream you're creating and its attributes. A video stream must be encoded, transferred, buffered, and displayed, which often adds delays. It's also very important to know that "live" doesn't always mean instant. As open standards like WebRTC become more compatible, I would recommend that route. There are other protocols available, but I chose RTMP because it has broad support. This project uses the Real-Time Messaging Protocol (RTMP) to handle audio and video streaming. I installed my server on a virtual machine with 4GB RAM, a 20GB hard drive, and a single Intel i7 processor core. There are no set rules when it comes to system requirements, so I recommend you experiment and find what works best for your needs.
0 Comments
Leave a Reply. |
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |