Content
<p align="center" width="100%">
<img width="38%" src="https://user-images.githubusercontent.com/10411078/149529602-7dcbaf26-55cd-4588-8989-206b76d32f07.png">
</p>
[](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).
## Contributors
<a href="https://github.com/harlanc/xiu/graphs/contributors"><img src="https://opencollective.com/xiu/contributors.svg?width=890&button=false" /></a>
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.
Connection Info
You Might Also Like

Continue
Continue is an open-source project for enhancing MCP Server functionality.

repomix
Repomix packages your codebase into AI-friendly formats for seamless integration.

Mastra
Mastra is a TypeScript framework for building AI agents and assistants.
Blender
BlenderMCP integrates Blender with Claude AI for enhanced 3D modeling.
fastapi_mcp
FastAPI-MCP exposes FastAPI endpoints as Model Context Protocol tools with...
cua
Cua is a cross-platform project supporting Python and Swift on macOS.