harlanc
MCP Serverharlancpublic

xiu

A simple,high performance and secure live media server in pure Rust (RTMP[cluster]/RTSP/WebRTC[whip/whep]/HTTP-FLV/HLS).🦀

Repository Info

2124
Stars
219
Forks
2124
Watchers
32
Issues
Rust
Language
MIT License
License

About This Server

A simple,high performance and secure live media server in pure Rust (RTMP[cluster]/RTSP/WebRTC[whip/whep]/HTTP-FLV/HLS).🦀

Model Context Protocol (MCP) - This server can be integrated with AI applications to provide additional context and capabilities, enabling enhanced AI interactions and functionality.

Documentation

!XIUcrates.io crates.io !RTMPcrates.io crates.io !RTSPcrates.io crates.io !WEBRTCcrates.io crates.io !HTTPFLVcrates.io crates.io !HLScrates.io crates.io !FLVcrates.io crates.io !MPEGTScrates.io crates.io !wechat

English Doc 中文文档

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

  • Support multiple platforms(Linux/MacOS/Windows).
  • Support RTMP.
    • Support publishing or subscribing H.264/AAC streams.
    • Support GOP cache which can be configured in the configuration file.
    • Support protocol conversion from RTMP to HTTP-FLV/HLS.
    • Support cluster.
  • Support RTSP.
    • Support publishing or subscribing H.265/H.264/AAC stream over both TCP(Interleaved) and UDP.
    • Support protocol conversion from RTSP to RTMP/HLS/HTTP-FLV.
  • Support WebRTC(Whip/Whep).
    • Support publishing rtc stream using Whip.
    • Support subscribing rtc stream using Whep.
    • Support protocol conversion from WHIP to RTMP/HLS/HTTP-FLV.
  • Support HTTP-FLV/HLS protocols(Transferred from RTMP/RTSP).
  • Support configuring the service using command line or a configuration file.
  • Support HTTP API/Notifications.
    • Support querying stream information.
    • Support notification of stream status.
  • Support token authentications.
  • Support recording live streams into HLS files(m3u8+ts).

Contributors

Thanks for their contributions!

Star History

Star History Chart

Thanks

  • media_server

Others

Open issues if you have any problems. Star and pull requests are welcomed. Your stars can make this project go faster and further.

Quick Start

1

Clone the repository

git clone https://github.com/harlanc/xiu
2

Install dependencies

cd xiu
npm install
3

Follow the documentation

Check the repository's README.md file for specific installation and usage instructions.

Repository Details

Ownerharlanc
Repoxiu
LanguageRust
LicenseMIT License
Last fetched8/10/2025

Recommended MCP Servers

💬

Discord MCP

Enable AI assistants to seamlessly interact with Discord servers, channels, and messages.

integrationsdiscordchat
🔗

Knit MCP

Connect AI agents to 200+ SaaS applications and automate workflows.

integrationsautomationsaas
🕷️

Apify MCP Server

Deploy and interact with Apify actors for web scraping and data extraction.

apifycrawlerdata
🌐

BrowserStack MCP

BrowserStack MCP Server for automated testing across multiple browsers.

testingqabrowsers

Zapier MCP

A Zapier server that provides automation capabilities for various apps.

zapierautomation