Skip to main content
Version: Production

Architecture

GoCast is a Go monolith (tum-live) that serves the web app and API, surrounded by services that capture, transcode and deliver video.

Components​

ComponentRole
tum-liveWeb app, Protobuf/Connect v2 (apiv2/, which also serves the few plain-HTTP routes that scripts, the ingest webhook and calendar apps call), gRPC endpoint for runners. Owns the database.
frontend/ + web/The Vue SPA (frontend/), embedded into the binary from web/spa/. spaRoutes in web/router.go lists the paths Go answers with the SPA shell.
ingestReceives RTMP streams from lecture hall SMPs and self-streamers.
runnerCaptures streams, transcodes them to HLS and creates VoDs, including from uploaded files. Replaced the old worker, which has been removed.
vod-servicePackaged the files the removed worker pushed after recording to HLS without re-encoding. Nothing in this repository sends it files any more, and uploads through the web UI never use it.
edgeServes HLS and VoD files to viewers, validates stream tokens against tum-live.
MariaDB / MeilisearchPersistence and full-text search. Search is optional locally.

The diagram follows docker-compose.yml, which is for local development only; production deployments split these across hosts (see Deployment).