Hi I am trying to create a custom rtmp so I can stream on several platforms such as Roku and my website. I have no idea on how to do it. Somebody please help! I am willing to pay someone to set it up for me please. my email address is: mannypaul@ctninfo.com Thank you
This textbox defaults to using Markdown to format your answer.
You can type !ref in this text area to quickly search our full set of tutorials, documentation & marketplace offerings and insert the link!
Heya,
I’ll recommend using Nginx to see how it goes. Nginx with the RTMP module. This setup will allow you to stream your content to various platforms.
sudo apt update
sudo apt install build-essential libpcre3 libpcre3-dev libssl-dev
sudo add-apt-repository ppa:nginx/stable
sudo apt-get update
sudo apt-get install libnginx-mod-rtmp
/usr/local/nginx/conf/nginx.conf
):sudo nano /usr/local/nginx/conf/nginx.conf
worker_processes 1;
events {
worker_connections 1024;
}
http {
include mime.types;
default_type application/octet-stream;
sendfile on;
keepalive_timeout 65;
server {
listen 8080;
server_name localhost;
location / {
root html;
index index.html index.htm;
}
location /live {
types {
application/vnd.apple.mpegurl m3u8;
video/mp2t ts;
}
alias /tmp;
expires -1;
add_header Cache-Control no-cache;
}
}
}
rtmp {
server {
listen 1935;
chunk_size 4096;
application live {
live on;
record off;
allow publish all;
allow play all;
}
}
}
Start the Nginx server:
systemctl start nginx
You can use a software encoder like OBS Studio to stream to your RTMP server. In OBS, set your streaming URL to rtmp://your_server_ip/live
and set the stream key as you like (e.g., myStream
).
rtmp://your_server_ip/live/myStream
.http://your_server_ip:8080/live/myStream.m3u8
.Get paid to write technical tutorials and select a tech-focused charity to receive a matching donation.
Full documentation for every DigitalOcean product.
The Wave has everything you need to know about building a business, from raising funding to marketing your product.
Stay up to date by signing up for DigitalOcean’s Infrastructure as a Newsletter.
New accounts only. By submitting your email you agree to our Privacy Policy
Scale up as you grow — whether you're running one virtual machine or ten thousand.
Sign up and get $200 in credit for your first 60 days with DigitalOcean.*
*This promotional offer applies to new accounts only.