Run In-Venue
In-Venue runs a complete low-latency streaming chain on one machine: an RTMP ingest, Packager, an edge that serves streams and thumbnails, a web player and optional monitoring. Everything starts with Docker Compose, and viewers on the local network watch in sync with no internet connection. See In-Venue use cases for where it fits.
Vindral supplies In-Venue as a package with the container images, a docker-compose.yml and default configuration. The package carries detailed instructions; this page gives the outline. Contact us to get it.
Requirements
Linux (recommended)
In-Venue runs on Linux, with Ubuntu 22.04 as the reference platform.
- Install Docker Engine and Docker Compose from Docker's own packages, not from Snap.
- Use Docker Engine 24 or newer. Update or reinstall older versions.
Windows and macOS
Windows and macOS suit testing and small audiences; for production, use Linux, which serves many more viewers per machine. Install Docker Desktop following Docker's instructions. The package uses host networking, which Docker Desktop offers only as an opt-in setting in recent versions; without it, follow the comments in docker-compose.yml to use port mappings instead.
Install
- Unpack the package and load the container images.
- Read the comments in
docker-compose.ymland adjust the settings you need. - Configure Packager in
config/packager/config.toml: renditions, resolutions, bitrates and so on.
Before you copy settings from the Packager example configs, which use version 3, check the version line in config/packager/config.toml. If your package uses an earlier format, contact us for an updated package.
Run
Start all services from the package directory:
docker compose up -d
Use docker-compose up -d with the older standalone Compose, and sudo if your Docker installation requires it. The services restart automatically after a reboot.
Publish your stream over RTMP to the machine. Replace YOUR_SERVER_IP with the machine's address on the venue network, or use localhost for an encoder on the same machine:
- URL:
rtmp://YOUR_SERVER_IP/live/stream - Separate server and key: server
rtmp://YOUR_SERVER_IP/live/, stream keystream
Viewers open the player on port 80 of the same address, for example http://YOUR_SERVER_IP/, from any device on the network.
Serve over TLS
Browsers need HTTPS for some features and on some networks. A certificate from a trusted authority works best. A self-signed certificate also works, but every viewer device must trust it.
- Follow the TLS comments in
docker-compose.yml. - In
config/packager/config.toml, change the sink URL fromws://host.docker.internal:9090/publish/?streamKey=streamtowss://host.docker.internal:9090/publish/?streamKey=stream. - In
config/prometheus.yml, changehttp://host.docker.internal:9090tohttps://host.docker.internal:9090underscrape_configs. - Create a folder named
certsand putfullchain.pemandkey.pemin it. - With a self-signed certificate, make viewer devices trust the certificate, domain or authority.
Updates
In-Venue installations do not need to follow every Vindral release. Update when a release brings something you need, and plan updates outside events, since restarting the edge disconnects viewers.