![]() ![]() # Use a GoPro livestream in other applications In order to stream from another place than your local network, you need to forward port 1935 and set up security settings (like in the allow publish part of the multichannelstream application) in order to prevent unauthorized people from streaming. This configuration contains examples for the /usr/local/nginx/conf/nf configuration file. ![]() WantedBy=multi-user.target Example configuration Now create a Systemd service file in /lib/systemd/system/rvice with the following contents: ĭescription=The NGINX HTTP and reverse proxy server with RTMPĪfter=syslog.target network-online.target remote-fs.target nss-lookup.targetĮxecStartPre=/usr/local/nginx/sbin/nginx -tĮxecReload=/usr/local/nginx/sbin/nginx -s reload configure -with-http_ssl_module -add-module=./nginx-rtmp-module-devĬongrats! It should have installed to /usr/local/nginx, you can now try to run /usr/local/nginx/sbin/nginx and see if it works. Now we can build & compile the project as such by executing these commands. Great, everything should be downloaded and in place. You now need to download NGINX, and the NGINX RTMP module: cd /usr/local/src Run the following to install dependencies: apt install -y build-essential libpcre3 libpcre3-dev libssl-dev unzip zlib1g-dev You can install NGINX with RTMP support as root on Debian. But if multi-streaming I can highly recommend a dedicated machine with a bit more powerful CPU. ![]() RTMP should run fine on a Raspberry Pi since it is not too heavy on system resources. You can use a Raspberry Pi as a test or other generic GNU/Linux server. Let's dive in on the technical part first, you might not have this if you got a device/image from me, if so you can skip this chapter. It can be a bit technical for most people, but I will be happy to help if you have questions. In this article, I will guide the setup and show examples for the different use cases. This way you are able to accomplish what you want. Using a GoPro as a stream source over Wi-Fi? What about streaming from SLOBS to two Twitch channels at once? Having a dedicated recording machine? Streaming to multiple platforms? Maybe even host a LAN party with a commentary stream? You can use RTMP and a custom ingest for streaming. ![]()
0 Comments
Leave a Reply. |
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |