Stream video from IP Cam to YouTube Live
Note: only cams with h264 codec are supported at the moment
Getting started
0. [RaspberryPi + Raspbian/Raspberry Pi OS] Update snapd
to the latest available version according to https://forum.snapcraft.io/t/installing-snap-on-debian
- Install snap:
sudo snap install youtube-live-streamer --edge
- Get
stream key
in YouTube Studio (https://studio.youtube.com/channel/UC/livestreaming)
- Open config file for edit:
sudoedit /var/snap/youtube-live-streamer/common/live-streamer.conf
- Uncomment
youtube-stream-key: "xxxx-xxxx-xxxx-xxxx-xxxx"
line by removing #
at the beginning and replace xxxx-xxxx-xxxx-xxxx-xxxx
with your stream key
- Restart snap:
sudo snap restart youtube-live-streamer
Troubleshooting