Acerca de
Servidor multimedia en directo sencillo, seguro y de alto rendimiento, escrito íntegramente en Rust (SRT/RTMP[clúster]/RTSP/WebRTC[whip/whep]/HTTP-FLV/HLS).🦀
Diseño y multimediaWhat you can do
- Support multiple platforms (Linux/macOS/Windows).
- Support publishing or subscribing H.264/H.265/AAC streams.
- Support GOP cache (zero-copy GopRingBuffer) for instant playback.
- Support protocol conversion from RTMP to RTSP/WebRTC/SRT/HTTP-FLV/HLS.
Crecimiento de estrellas medido
- in 24h
- 0
- in 7 days
- +1
- in 15 days
- +2
- in 1 month
- +7
Cambios netos en períodos que se solapan, no totales diarios. Los datos no disponibles se dejan en blanco. Las estrellas indican interés, no calidad.
README.md
Original
Sponsors
We would like to thank the following sponsors for their support of this project.
Recall.ai - API for meeting recordings
If you’re looking for a meeting recording API, consider checking out Recall.ai, an API that records Zoom, Google Meet, Microsoft Teams, in-person meetings, and more.
Overview
Xiu is a simple, high-performance, and secure live media server written in pure Rust powered by a zero-copy microkernel. It supports popular live protocols including RTMP, RTSP, WebRTC (WHIP/WHEP), SRT, HLS, and HTTP-FLV, with seamless cross-protocol remuxing.
Protocol Conversion Matrix
Rows are input (ingest) protocols and columns are output (egress) protocols. Powered by the zero-copy xiu-core microkernel, all ingest protocols can be remuxed to any egress protocol (with automatic on-demand Opus ↔ AAC audio transcoding when audio-transcode is enabled):
| Input \ Output | RTMP | RTSP | WebRTC (WHEP) | SRT | HTTP-FLV | HLS |
|---|---|---|---|---|---|---|
| RTMP | ✅ | ✅ | ✅ | ✅ | ✅ | ✅ |
| RTSP | ✅ | ✅ | ✅ | ✅ | ✅ | ✅ |
| WebRTC (WHIP) | ✅ | ✅ | ✅ | ✅ | ✅ | ✅ |
| SRT | ✅ | ✅ | ✅ | ✅ | ✅ | ✅ |
Features
- Support multiple platforms (Linux/macOS/Windows).
- Support RTMP.
- Support publishing or subscribing H.264/H.265/AAC streams.
- Support GOP cache (zero-copy
GopRingBuffer) for instant playback. - Support protocol conversion from RTMP to RTSP/WebRTC/SRT/HTTP-FLV/HLS.
- Support cluster relay (static push & pull).
- Support RTSP.
- Support publishing or subscribing H.265/H.264/AAC/Opus streams over both TCP (Interleaved) and UDP.
- Support protocol conversion from RTSP to RTMP/WebRTC/SRT/HLS/HTTP-FLV.
- Support WebRTC (WHIP/WHEP).
- Support publishing RTC streams using WHIP.
- Support subscribing RTC streams using WHEP.
- Support on-demand audio transcoding (Opus ↔ AAC) and cross-protocol conversion to/from RTMP/RTSP/SRT/HLS/HTTP-FLV.
- Support SRT (Pure Safe Rust Live SRT).
- Support publishing and subscribing MPEG-TS over SRT (Caller/Listener with StreamID routing).
- Support AES encryption via passphrase (
pbkeylen: 16/24/32) and configurable latency. - Support cross-protocol conversion to/from RTMP/RTSP/WebRTC/HTTP-FLV/HLS.
- Support HTTP-FLV/HLS protocols (on-demand and eager recording modes).
- Support configuring the service using command line or a v2 TOML configuration file.
- Support HTTP API and webhook notifications (
on_publish,on_unpublish,on_play,on_stop,on_hls). - Support token authentication.
- Support recording live streams into HLS files (m3u8 + ts).
Contributors
Thanks for their contributions!
Star History
Thanks
Others
Open issues if you have any problems. Star and pull requests are welcomed. Your stars can make this project go faster and further.
Explorar proyectos relacionados
Cargando…