---
format: markdown
author: Ing. Petr Mácha
title: Golem LiveStream guide
...
# Step-by-step guide to golem LiveStream
First, several steps must be performed on youtube side:
1. Open https://www.youtube.com
2. Log into the golem account
3. Click on "vysilat zive"
4. Check if option "vkladani" is turned on.
5. Copy path of URL and copy-paste into /golem/database/www/remote_app/golem_web_app/secret_settings.py. There is a variable VIDEO_STATUS_ID. Paste the part of the path (the unique part of URL) into this variable.
(6). It might be necessary to restart pulseaudio services. In order to do that, first close the service with `pulseaudio -k` and than start it again with `pulseaudio -D`
7. Start the stream.sh script using: `bash stream.sh`. It is beneficial to start the script in tmux session.
8. The stream should start. Sometimes it is necessary to restart Apache2 service on the golem server (Supermicro) to refresh from old stream.