Author: James Jones [email protected]
- terraform
- ansible
- ffmpeg
- Nginx Plus repo access cert and key
- Digital Ocean Account with a ssh key imported
- Clone repo
- Copy your Nginx repo access cert and key to './certs'
- In './terraform/variables.tf' add the key name to
data "digitalocean_ssh_key" "ssh_keys"
.
Example:
variable "ssh_keys" {
type = set(string)
default = [
"myKeyName"
]
}
- mkdir ~/.private
- Create a file '~/.private/do_token' with mode '0600' and put your Digital Ocean token in it.
- Update IP of the ingest node in
stream.sh
note: The deploy scrip will down the video for you: http://distribution.bbb3d.renderfarming.net/video/mp4/bbb_sunflower_1080p_60fps_stereo_abl.mp4 - Start the stream
./stream.sh
- Playback using the following address
rtmp://<lb-node-ip>/live/bbb
./deploy.sh
./destroy.sh