Streams IP Cam to YouTube Live.
- 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
- Replace
source
value with desired RTSP URL - Uncomment
youtube-stream-key: "xxxx-xxxx-xxxx-xxxx-xxxx"
line by removing#
at the beginning and replacexxxx-xxxx-xxxx-xxxx-xxxx
with yourstream key
- Restart snap:
sudo snap restart youtube-live-streamer
- Look to the logs with
sudo snap logs youtube-live-streamer
orsudo snap logs youtube-live-streamer -f