![]() In order to do this safely, the second streamer needs to share a stream key with you. Using the example configuration provided above, we need the multichannelstream application example. This way you can stream from one Streamlabs OBS to two separate Twitch channels for example. You can configure RTMP to re-stream to two outputs at the same time. You could be playing a game together, on a single console for example but still want to stream to each of your channels. This should now activate automatically when you start streaming to your RTMP server from your Gopro Using RTMP to stream on multiple Twitch channels Your source should look something like this: Especially if you use the audio from the RTMP stream!įirst, you got to add a new media source to import your newly generated RTMP feed, set the buffering as low as possible, as well as the reconnect delay. The only downside to this is that it's not as real time as a webcam might be since it is over the network, but not everything requires this. GoPro's have the option to directly stream to some platforms, but you wouldn't have OBS/Overlays then, to fix this you can stream to a custom RTMP server and catch that stream in OBS. Using a GoPro camera in OBS? You can with the magic of RTMP! Playing around with this was how I initially got into RTMP streams and figuring out the other things you can do with it. This configuration has examples for the multiple use cases listed below. Root /usr/local/src/nginx/nginx-rtmp-module-dev/stat.xsl You will need multiple of these in order to capture multiple broadcasts with a unique name for each # Twitch stream catcher, for commentary streams or recording. # Youtube allows a backup server in case their primary ingress server fails. # Use a single OBS output for multiple platforms (Facebook, Twitch, Youtube) This has to be an IP or range you plan to stream from. # Use this to limit who is allowed to stream to this application, this is important to prevent others from being able to stream to your channels. # Use a single OBS output for multiple streams # 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 |