EktorCaba avatar

Nginx proxy streaming to multiple services

ektorcaba

Published: 19 Jun 2018 › Updated: 19 Jun 2018

Nginx proxy streaming to multiple services

Hi, this is my nginx.conf useful to streaming to multiple sites at the same time.

Append this to your nginx.conf and set rtmp://localhost:1935/live as your streaming service and as key use test in your broadcast software.

#nginx.conf

rtmp {
        server {
                listen 1935;
                chunk_size 4096;

                application live {
                        live on;
                        record off;
                                                # Twitch
                        push rtmp://live-mad.twitch.tv/app/live_YOUR_KEY;
                                                
                                                #Restream.io
                        push rtmp://eu-madrid.restream.io/live/re_YOUR_KEY;
                                                
                                                #Dlive
                        push rtmp://stream.dlive.io/live?key=YOUR_KEY/YOUR_STEEM_USER;
                                                
                                                #Youtube
                        push rtmp://a.rtmp.youtube.com/live2/YOUR_KEY;
                                                
                                                #Mixer
                        push rtmp://ingest-ams.mixer.com:1935/beam/YOUR_KEY;

                }
        }
}

Start your nginx server and enjoy!

Leave Nginx proxy streaming to multiple services to:

Written by

Hi! i'm Ektor Caba from Canary Islands (Spain). I love play FPS coop games, vfx, 3D, music, develop...[SPM Enabled]

Read more #steemcodeit posts


Best Posts From EktorCaba

We have not curated any of ektorcaba's posts yet. But you can encourage our curation team to review posts by visiting them regularly and by referring other readers. Because we give priority to frequently read content.

More Posts From EktorCaba