Video streaming¶
TS6 Manager includes a Go/Pion media sidecar for low-latency video delivery to TeamSpeak clients and the browser preview.
Supported inputs¶
The streaming path can accept supported YouTube, Twitch, direct media URLs, and IPTV sources.
The UI exposes quality presets such as 480p, 720p, and 1080p.
Architecture¶
The backend coordinates media preparation and session state. The Go sidecar handles the WebRTC/media relay.
In the standard split-stack compose file:
- the sidecar listens on port 9800 inside the Docker network;
- port 9800 is not published to the host;
- backend-to-sidecar mutating requests use
SIDECAR_SECRET; and - the backend and sidecar share the media volume.
The all-in-one image keeps the backend and sidecar on loopback behind nginx.
Synchronization¶
The sidecar uses RTCP Sender Reports and adaptive pacing controls for A/V synchronization. Environment variables allow limited tuning of playout buffering, bias, queue sizes, bitrate, and encoder behavior.
See Environment variables for the available sidecar settings.
Operational notes¶
Do not expose the sidecar directly to the public network.
If a stream does not start, check:
- the backend can reach
SIDECAR_URL; - backend and sidecar use the same
SIDECAR_SECRET; - the media volume is mounted at the same path in both containers; and
- the source URL is still available to yt-dlp/FFmpeg.
See Troubleshooting for common deployment checks.