https://github.com/harlanc/xiu
A simple,high performance and secure live media server in pure Rust (RTMP[cluster]/RTSP/WebRTC[whip/whep]/HTTP-FLV/HLS).🦀
https://github.com/harlanc/xiu
aac audio cluster h264 hls http-flv live m3u8 media-server rtmp rtmp-server rtsp rtsp-server rust tokio ts video whep whip xiu
Last synced: 6 days ago
JSON representation
A simple,high performance and secure live media server in pure Rust (RTMP[cluster]/RTSP/WebRTC[whip/whep]/HTTP-FLV/HLS).🦀
- Host: GitHub
- URL: https://github.com/harlanc/xiu
- Owner: harlanc
- License: mit
- Created: 2020-08-16T14:27:42.000Z (over 4 years ago)
- Default Branch: master
- Last Pushed: 2025-01-19T00:42:21.000Z (3 months ago)
- Last Synced: 2025-04-01T22:14:56.754Z (13 days ago)
- Topics: aac, audio, cluster, h264, hls, http-flv, live, m3u8, media-server, rtmp, rtmp-server, rtsp, rtsp-server, rust, tokio, ts, video, whep, whip, xiu
- Language: Rust
- Homepage: https://rustxiu.com
- Size: 1.45 MB
- Stars: 2,014
- Watchers: 27
- Forks: 211
- Open Issues: 30
-
Metadata Files:
- Readme: README.md
- Funding: FUNDING.yml
- License: LICENSE
Awesome Lists containing this project
- awesome-rust - harlanc/xiu
- awesome-rust-cn - harlanc/xiu - 一个由pure (应用程序 Applications / 视频 Video)
- awesome-rust - harlanc/xiu - A powerful and secure live server (rtmp/httpflv/hls/relay). [](https://crates.io/crates/xiu) (Applications / Video)
- awesome-rust-list - Xiu - FLV/HLS).🦀 (Live Media Server)
- awesome-rust-list - Xiu - FLV/HLS).🦀 (Live Media Server)
- fucking-awesome-rust - harlanc/xiu - A powerful and secure live server (rtmp/httpflv/hls/relay). [](https://crates.io/crates/xiu) (Applications / Video)
- fucking-awesome-rust - harlanc/xiu - A powerful and secure live server (rtmp/httpflv/hls/relay). [](https://crates.io/crates/xiu) (Applications / Video)
README
![]()
[](https://crates.io/crates/xiu)
[](https://crates.io/crates/xiu)
[](https://crates.io/crates/rtmp)
[](https://crates.io/crates/rtmp)
[](https://crates.io/crates/xrtsp)
[](https://crates.io/crates/xrtsp)
[](https://crates.io/crates/xwebrtc)
[](https://crates.io/crates/xwebrtc)
[](https://crates.io/crates/httpflv)
[](https://crates.io/crates/httpflv)
[](https://crates.io/crates/hls)
[](https://crates.io/crates/hls)
[](https://crates.io/crates/xflv)
[](https://crates.io/crates/xflv)
[](https://crates.io/crates/xmpegts)
[](https://crates.io/crates/xmpegts)
[](https://app.travis-ci.com/github/harlanc/xiu)
[](https://discord.gg/gS5wBRtpcB)
[English Doc](https://harlanc.github.io/) [中文文档](https://harlanc.github.io/zh-cn/)
Xiu is a simple,high performance and secure live media server written in pure Rust, it now supports popular live protocols like RTMP[cluster]/RTSP/WebRTC[Whip/Whep]/HLS/HTTP-FLV.
## Features
- [x] Support multiple platforms(Linux/MacOS/Windows).
- [x] Support RTMP.
- [x] Support publishing or subscribing H.264/AAC streams.
- [x] Support GOP cache which can be configured in the configuration file.
- [x] Support protocol conversion from RTMP to HTTP-FLV/HLS.
- [x] Support cluster.
- [x] Support RTSP.
- [x] Support publishing or subscribing H.265/H.264/AAC stream over both TCP(Interleaved) and UDP.
- [x] Support protocol conversion from RTSP to RTMP/HLS/HTTP-FLV.
- [x] Support WebRTC(Whip/Whep).
- [x] Support publishing rtc stream using Whip.
- [x] Support subscribing rtc stream using Whep.
- [x] Support protocol conversion from WHIP to RTMP/HLS/HTTP-FLV.
- [x] Support HTTP-FLV/HLS protocols(Transferred from RTMP/RTSP).
- [x] Support configuring the service using command line or a configuration file.
- [x] Support HTTP API/Notifications.
- [x] Support querying stream information.
- [x] Support notification of stream status.
- [x] Support token authentications.
- [x] Support recording live streams into HLS files(m3u8+ts).Thanks for their contributions!
## Star History
[](https://star-history.com/#harlanc/xiu)
## Thanks
- [media_server](https://github.com/ireader/media-server.git)
## Others
Open issues if you have any problems. Star and pull requests are welcomed. Your stars can make this project go faster and further.