Streaming box
A simple script to turn an headless raspberry pi 4 (with a good microphone) into a plug and play youtube streaming box.
Setup
Put all the scripts in /home/pi/
and make them executable with chmod +x *.sh
.
Install speedtest-cli : sudo apt install speedtest-cli
.
Set up the pi to boot in auto logged in (pi user) console mode with sudo raspi-config
.
Put your streaming service URL and API key into the script.
Add ./autostart_stream.sh
at the end of /home/pi/.bashrc
.
Usage
Plug the microphone. Plug the Raspberry Pi. Enjoy.
Debug
Debug : boot with a screen and keyboard, use CTRL+C to exit the running script.