Docker Compose setup to push a stream to multiple providers like facebook, twitch or youtube. Using stunnel to support rtmps for facebook. This project is based on the work of Sebastián Ramírez and Jessica Hamilton.
Install Docker: https://www.docker.com/get-started
Install Docker Compose: https://docs.docker.com/compose/install/
Install OBS: https://obsproject.com
- Remove push rtmp://... lines if you don't want to use this provider (or add other ones below the lines)
- Replace streamkey with the key from your provider
- Open your terminal, go into the nginx-rtmp-multi-stream folder
- Start the rtmp server with the current providers:
docker-compose up --build
- Stop the server
- Edit the nginx.conf file
- Restart the rtmp server with the current providers:
docker-compose up --build
- Set service to custom
- Enter as Server: rtmp://0.0.0.0/live
- Use a custom stream key you want
This project is licensed under the terms of the MIT License.