3 releases

0.1.25 Jun 26, 2021
0.1.24 May 23, 2021
0.1.23 Apr 17, 2021

#460 in Video

26 downloads per month
Used in 2 crates

MIT license

19KB
469 lines

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/WebRTCWhip/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).

Star History

Star History Chart

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.

Dependencies

~4–12MB
~93K SLoC