Skip to content
This repository was archived by the owner on Nov 11, 2024. It is now read-only.

dubblen/rtmp-restream-docker

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

3 Commits
 
 
 
 
 
 
 
 

Repository files navigation

RTMP restream docker

Ready to deploy Nginx with rtmp module and stunnel in docker-compose

Getting started

Edit nginx.conf located in ./containers/rtmp/conf and supply your RTMP keys for your social networks.

worker_processes auto;
rtmp_auto_push on;
events {}
rtmp {
    server {
        listen 1935;
        listen [::]:1935 ipv6only=on;

        application live {
            live on;
            push_reconnect 1s;
            record off;
            push 'rtmp://stunnel:4433/rtmp/<FB_RTMP_KEY>';
            push 'rtmp://a.rtmp.youtube.com/live2/<YOUTUBE_RTMP_KEY>';
        }
        application source {
            live on;
            record off;
        }
    }
}

Start up your docker-compose

cd path/to/rtmp-restream-docker
docker-compose up

Connect your streaming software to your restream server

And you are ready to stream!

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published