Skip to content

Latest commit

 

History

History
9 lines (5 loc) · 1.53 KB

README.md

File metadata and controls

9 lines (5 loc) · 1.53 KB

Send webcam feed to Twitch using Restreamer on Raspberry Pi

Example Docker Compose config for Tutorial: Broadcast webcam to Twitch using Raspberry Pi and Datarhei Restreamer, generated using Composerize. The setup defined in docker run has been modified to create config and data bind mounts in the directory where the docker compose command is run from.

To use, create a new directory (e.g. restreamer) and navigate to it, pull down this docker-compose.yml file using wget, then run docker compose up -d.

Follow Docker's post-install steps for Linux to ensure that Docker (and the Restreamer container) start automatically after the Pi is turned on. When restarted, the Restreamer app should recreate its last state, so if you turned off your Pi while connected to Twitch then Restreamer will re-connect to Twitch after it has been restarted.

To stop your container temporarily, run docker compose stop. To decommission the app, run docker compose down. The bind mounts created during the up command will remain, and can be reused if you recreate the app in future, but also can be removed simply by deleting the folders from your Pi's filesystem.