Nginx proxy streaming to multiple services

in #steemcodeit6 years ago (edited)

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!

Coin Marketplace

STEEM 0.19
TRX 0.15
JST 0.029
BTC 63348.66
ETH 2668.99
USDT 1.00
SBD 2.78