In this concise guide we'll show how you can stream to multiple platforms at the same time using a Linux VPS.
Type in the root password and press enter (It will be hidden).
You can paste prompts into your SSH session by right clicking.
You could view the source code or even make it yourself here: https://github.com/MorrowShore/Prism
It uses docker, nginx and stunnel to allow multistreaming to RTMP and RTMPS destinations.
If you don't intend to stream somewhere, remove the relevant part and the "-e" before it.
Here's an example of a completed prompt, for streaming to Twitch, Youtube and Kick at the same time:
Don't forget to change it with your server's IP.
As for stream key, you can put anything!
This is to make sure you're safe and secure.
and do step 4 again.
Step 2: run this and copy the Image ID:
Step 3: Edit it with Prism's Image ID then run:
Don't spend too much on the VPS, this setup won't require anything really; a 2~4$ /month Ubuntu Linux VPS will suffice,
If you're not a beginner streamer, we advise setting this up with 2 secondary platforms first to see if everything on your side is working as intended.
We first set this up for our own streamers, and it works better than we expected, so we decided to share it here as well.
Feel free to let us know if there's an issue, or if you'd like to request support for another destination, on our Discord server.
For aggregating chat from multiple platforms, please use an Open Source and Free tool like AxelChat.
We're also working on a solution to changing stream titles on multiple platforms at once.
Step 1: SSH to your VPS
Open your CMD, edit the following prompt with your server's IP address, then paste it in.
Code:
ssh ssh://root@<server IP address>
Step 2: Update your VPS
Copy this into your SSH session.
Code:
sudo apt update && sudo apt upgrade -y && sudo apt install -y docker.io docker-compose
Step 3: Install the Prism
Copy this into your SSH session (by right clicking).
Code:
docker build -t prism github.com/MorrowShore/Prism
It uses docker, nginx and stunnel to allow multistreaming to RTMP and RTMPS destinations.
Step 4: Run Prism
Copy this somewhere, and patiently edit it with your streamkeys (and server address in case of Twitch), then enter it into the SSH window.
Code:
docker run -it -p 1935:1935 --name prism -e TWITCH_URL="<twitch server>" -e TWITCH_KEY="<twitch key>" -e FACEBOOK_KEY="<facebook key>" -e YOUTUBE_KEY="<youtube key>" -e TROVO_KEY="<trovo key>" -e KICK_KEY="<kick key>" prism
Here's an example of a completed prompt, for streaming to Twitch, Youtube and Kick at the same time:
Code:
docker run -it -p 1935:1935 --name prism -e TWITCH_URL="rtmp://fra05.contribute.live-video.net/app/" -e TWITCH_KEY="live_000000000000000000" -e YOUTUBE_KEY="0000-0000-0000-0000" -e KICK_KEY="sk_us-west-2_00000000000000" prism
Step 5: Stream!
Stream to your own server with OBS
Code:
rtmp://<server IP address>/live/
As for stream key, you can put anything!
Remember to STOP PRISM after you're done streaming:
Code:
docker stop prism
You can start Prism again by running:
Code:
docker start prism
I messed up my configuration on step 4!
Just run:
Code:
docker rm prism
I hate this! How do I remove Prism?
Step 1: run this prompt:
Code:
docker rm prism
Step 2: run this and copy the Image ID:
Code:
docker images
Step 3: Edit it with Prism's Image ID then run:
Code:
docker rmi <Image ID>
Don't spend too much on the VPS, this setup won't require anything really; a 2~4$ /month Ubuntu Linux VPS will suffice,
If you're not a beginner streamer, we advise setting this up with 2 secondary platforms first to see if everything on your side is working as intended.
We first set this up for our own streamers, and it works better than we expected, so we decided to share it here as well.
Feel free to let us know if there's an issue, or if you'd like to request support for another destination, on our Discord server.
For aggregating chat from multiple platforms, please use an Open Source and Free tool like AxelChat.
We're also working on a solution to changing stream titles on multiple platforms at once.