obs container with obs-websockets, sls and python low bandwidth detection. (vnc available)
171
docker run --rm -p 5900:5900 -p 1935:1935 -p 1935:1935/udp -e VNC_PASSWORD=password -v /dev/shm jrsmile/obs-headless:latest
if you want to forward your stream to twitch just add -e TWITCH_KEY=live_702493559_iJmHU0ijD.... to the start parameters above
!!!WARNING HIGH CPU USAGE!!!
Due to the fact that a complete obs client runs here in a virtual desktop please make sure you run this container on a server with at least 4 dedicated CPUs to this container if you want stable 1080p 30FPS.
Source: https://github.com/jrsmile/obs-headless-docker
use srt-streamer or obs to stream to srt://servername:1935?streamid=input/live/desktop&mode=caller
get stream from srt://servername:1935?streamid=input/live/obs
adapt logic.py when to switch scenes,
you can use the following variables (get updated every second):
#on_connect (event based)
#on_close (event based)
#"kbitrate": "6151",
#"port": "1935",
#"pub_domain_app": "input/live",
#"remote_ip": "123.123.123.123",
#"remote_port": "61257",
#"role": "publisher",
#"start_time": "2021-12-11 10:23:47",
#"stream_name": "desktop",
#"url": "input/live/desktop"
as criteria and much more
Content type
Image
Digest
Size
722.7 MB
Last updated
almost 5 years ago
docker pull jrsmile/obs-headless:main