PeerTube Architecture documentation

Explains how PeerTube combines HTTP serving, a websocket tracker, HLS with P2P Media Loader and ActivityPub-based instance redundancy.

Link

Related resources

  • PeerTube (GitHub)ActivityPub-federated video hosting platform using WebRTC P2P in-browser delivery to offload server bandwidth, including live streaming sup…
  • webrtc-cdnLive media CDN over WebRTC: multi-node cluster coordinated via Redis Pub/Sub (Go, Docker) with WHIP/WHEP-style ingest and egress across nod…
  • ipfs-live-streamingWorking live streaming chain over IPFS: OBS to nginx-rtmp to an IPFS node using pubsub for segment announcement instead of slow IPNS.
  • CDNBye dash.js P2P enginedash.js plugin that offloads CDN bandwidth via WebRTC peer-to-peer sharing while preserving viewing experience.
  • Owncast P2P (owncast-p2p)Owncast fork adding P2P HLS delivery via SwarmCloud for self-hosted live streaming with peer-assisted bandwidth offload.
  • IcecastAn open source streaming media server primarily for audio streaming (Ogg/Opus), which can also deliver video in formats like Ogg/Theora. Co…
  • tsduck-prometheus — TS analyser metrics exporterExports TSDuck transport-stream analyser values as Prometheus metrics covering most ETSI TR 101 290 checks for broadcast monitoring.
  • NGINX VOD Module — advanced streaming configuration guideDetailed configuration walkthrough for nginx-vod-module doing on-the-fly HLS/DASH packaging with caching, DRM and mapping modes.
  • Varnish — Caching Video (official docs)Official technical guide on caching HLS/DASH segments and manifests with Varnish, including VCL snippets for TTL and live-segment expiry ha…
  • ZLMediaKitA high-performance C++ media server framework supporting WebRTC, RTSP, RTMP, HTTP-FLV, HLS, WebSocket streaming, and SRT, for building stre…
  • How Cloudflare Streams Video (Engineering)Engineering deep-dive on Cloudflare Stream's architecture: tus resumable upload protocol, encoding pipeline, dynamic underutilized-datacent…
  • Cloudflare Stream Live: Engineering Deep-DiveEngineering post on distributed live ingest architecture vs legacy single-region ingest, covering LL-HLS latency, WHIP/WHEP, and SRT suppor…
  • DIY-Streaming-CDNReference architecture and OSS stack (OBS + nginx + load balancer) for building a self-hosted livestream CDN.
  • go2rtcA flexible high-performance streaming server written in Go that can ingest RTSP, WebRTC, RTMP, HTTP-FLV, and LL-HLS and output streams to m…