소개
순수 Rust로 구현된 간단하고 고성능이며 안전한 라이브 미디어 서버입니다(SRT/RTMP[클러스터]/RTSP/WebRTC[whip/whep]/HTTP-FLV/HLS).🦀
디자인 및 미디어What 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.
측정된 스타 증가
- in 24h
- 0
- in 7 days
- +1
- in 15 days
- +2
- in 1 month
- +7
서로 겹치는 기간의 순증가량이며 일별 합계가 아닙니다. 측정값이 없으면 비워 둡니다. 스타는 관심도를 나타내며 품질을 보장하지 않습니다.
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.
관련 프로젝트 살펴보기
불러오는 중…