Deploy Now

Stars

2,337

Forks

240

Watchers

28

Developer links

Xiu

Point OBS at it, and the same live stream comes out in whatever protocol each viewer needs. Xiu is an open-source live media server that accepts publishing over RTMP, RTSP, and WebRTC WHIP, then redistributes every stream as RTMP, RTSP, HTTP-FLV, HLS, or low-latency WebRTC WHEP playback. Cameras and encoders pushing H.264, H.265, or AAC over TCP or UDP become browser-friendly HLS and HTTP-FLV without a separate transcoding tier, and GOP caching gets late joiners to a keyframe fast. Static push and pull relaying chains servers together: one origin ingests, regional nodes pull, and audiences play from the node nearest them; RTMP clustering covers larger fan-outs. Every live stream can also be recorded straight to HLS files, giving you an instant archive of broadcasts, lessons, and town halls. Token authentication guards publishing and playback, HTTP callbacks report stream start and stop events to your backend, and an HTTP API answers stream information queries for your own dashboards and automation. Operators shape ports, protocols, relays, and recording in one configuration file or with command-line flags, running a single binary that stays out of the way until the audience arrives. Running on a dedicated VPS on RepoCloud with guaranteed CPU, RAM, and SSD, full root SSH access, and a browser serial console. MIT licensed.

Xiu

Benefits

  • Every Protocol, One Server
  • RTMP, RTSP, WebRTC, HTTP-FLV, and HLS publishing and playback live in one binary, so cameras, OBS, and browsers all connect without protocol gateways between them.
  • Ingest Once, Play Anywhere
  • A single incoming stream converts into browser-friendly HLS and HTTP-FLV plus low-latency WHEP, sparing you a separate transcoding tier for mixed audiences.
  • Relay From Origin To Edge
  • Static push and pull relaying plus RTMP clustering chain servers into a distribution tree, letting viewers play from nearby nodes instead of hammering the origin.
  • Broadcasts Archive Themselves
  • Recording straight to HLS segment files leaves a ready-to-serve archive of every stream, with token authentication guarding both publishing and playback.

Features

  • RTMP And RTSP Ingest
  • Publish and subscribe H.264, H.265, and AAC streams over TCP interleaved or UDP, with configurable GOP cache and conversion to HTTP-FLV and HLS.
  • WebRTC WHIP And WHEP
  • Browser and OBS publishing arrives over WHIP and returns as sub-second WHEP playback, convertible onward to RTMP, HLS, and HTTP-FLV audiences.
  • Callbacks And HTTP API
  • Stream start and stop events POST to your backend, and the HTTP API answers live stream queries for dashboards, automation, and admission control.
  • Single-File Configuration
  • Ports, protocols, relays, recording, and authentication are set in one TOML configuration file or overridden with command-line flags at launch.

Apps Similar to Xiu