This is a simple Docker setup for broadcasting a video stream using SRT and HLS.
The SRT server is set up as an H.264 proxy. To stream to this server, make sure to use H.264 encoding.
If you are on Windows or macOS with Docker Desktop, running docker compose up
from the app
directory of this repo will start an "ingest" server and "viewer" server.
docker compose up
Broadcast to the ingest server using the following URL:
srt://localhost:3478?mode=caller&transtype=live&smoother=live
(Note: if you are using OBS, set the service to "Custom..." and use the above URL as the "Server". The "Stream Key" is unused.)
The live video will then be accessible using the viewer at http://localhost.