A pulumi project to deploy a nginx RTMP server that streams to multiple URLs, configurable for Youtube, Facebook and Twitch
This can be used as an alternative to Restream if enough bandwidth is available
- Clone this project
- Setup the kube config if not wanting to use the default one:
- Run
export KUBECONFIG=/path/to/config
- Run
- Run
pulumi stack init
and create your own stack - Setup the required stream keys:
- Twitch, run
pulumi config set --secret 'twitch-stream-key' '<key>'
- Facebook, run
pulumi config set --secret 'facebook-stream-key' '<key>'
- Youtube, run
pulumi config set --secret 'youtube-stream-key' '<key>'
- Twitch, run
- Create the infra with
pulumi up
This Pulumi project will install a nginx RTMP server using the image thiagoeolima/nginx-rtmps as a base to stream to multiple RTMP endpoints at the same time.
- Twitch
- Facebook (stunnel4 passthrough that will convert the stream to RTMPS)
- Youtube
This repository was created using the following command:
# Generated using the following command
$ pulumi new https://github.com/pulumi/examples.git/kubernetes-ts-nginx --force