A webservice that provides OBS studio scene switching and monitoring of remote server over the stream
git clone git@github.com:darvin/OBSfucatorium.git
cd OBSfucatorium
python3 -m venv .venv
source .venv/bin/activate
pip install -r requirements.txt
python obsfucatorium.py
curl http://localhost:8001/keepAlive
curl http://localhost:8001/launch
curl http://localhost:8001/kill
curl http://localhost:8001/scene/prev
curl http://localhost:8001/scene/next
sudo apt-add-repository ppa:obsproject/obs-studio
sudo apt-get update
sudo apt-get install obs-studio
sudo apt install glances
sudo npm install -g gtop
location /obsfucator {
rewrite ^/obsfucator(.*)$ $1 break;
proxy_pass http://localhost:8001;
proxy_set_header Host $host;
proxy_set_header X-Real-IP $remote_addr;
proxy_set_header X-Forwarded-For $proxy_add_x_forwarded_for;
proxy_redirect off;
proxy_set_header X-Forwarded-Proto $scheme;
}