Skip to content
المشاريع

حول

خادم بسيط وعالي الأداء وآمن للبث المباشر للوسائط، مكتوب بالكامل بلغة Rust (SRT/RTMP[cluster]/RTSP/WebRTC[whip/whep]/HTTP-FLV/HLS).🦀

التصميم والوسائط

كيف تُقاس هذه الأرقام

ما يمكنك فعله

  • 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.

النمو المقاس للنجوم

خلال 24 ساعة
٠
خلال 7 أيام
+١
خلال 15 يومًا
+٢
خلال شهر
+٧

تغيّر صافي النجوم خلال فترات متداخلة، وليس مجموعًا يوميًا. تبقى القياسات المفقودة فارغة. النجوم تقيس الاهتمام لا جودة البرمجيات.

README.md

الأصل

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

English Doc 中文文档

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.

استكشف مشاريع مشابهة ومرتبطة

جارٍ التحميل…