Blog & notes Leer en español

Learn StreamHub

What StreamHub is and how to get the most from it: concepts, step-by-step guides and tours of every feature.

Concepts #overview

What is StreamHub?

A self-hosted media server over LiveKit: multi-tenant apps, every ingest path, WebRTC + HLS playback, recording to your own S3, and a REST API — all behind one domain you control.

2 min read
Concepts #self-hosting

Why self-host your live streaming

Per-minute SaaS pricing, data residency and lock-in are the three reasons teams move streaming in-house. Here is what you gain — and what you take on — by running it yourself.

2 min read
Concepts #architecture

How StreamHub is built: one domain, one image

A single reverse proxy, one core container that serves the API, dashboard, HLS and SDK, and a hidden SFU underneath. A tour of the request routing and the pieces that make it feel like one product.

2 min read
Concepts #multi-tenant

Multi-tenant apps and per-app databases

One server, many isolated apps. How StreamHub uses apps, tenants, per-app SQLite and room prefixes to keep customers and workloads cleanly separated.

2 min read
Concepts #playback

WebRTC vs HLS: pick your latency

Sub-second WebRTC or buffered HLS? The trade-off between latency, scale and reach — and how StreamHub gives you both from the same live stream.

2 min read
Plugins #marketplace

The plugin marketplace: extend without forking

Nine built-in plugins and a framework that discovers them from the filesystem — no central registry to edit. How StreamHub lets features plug into both the backend and the dashboard.

2 min read
Concepts #s3

Own your media: per-app S3 and recordings

Every app records to its own S3 bucket with its own credentials. How the recording-to-VOD pipeline works and why the storage boundary is per app.

2 min read
Operations #security

The StreamHub security model: tokens, JWT, RBAC

Four auth planes, role-based access control with Casbin, and a network layer of IP allow/blocklists and auto-ban. How StreamHub gates every request.

2 min read
Operations #observability

Observability: metrics, health and logs

Prometheus metrics at /metrics, a liveness probe, an authenticated stats endpoint and a queryable log store. Everything you need to watch a StreamHub node.

2 min read