8xFF / atm0s-media-server

Decentralized, Global-Scale Media Server written in Rust (WebRTC/Whip/Whep/Rtmp/Sip)
https://8xff.github.io/media-docs/
MIT License
235 stars 17 forks source link
cluster decentralized latency media-server rtmp rust scalable sfu sip streaming video webrtc whep whip

License: MIT Discord

Decentralized Ultra-Low Latency Streaming Server

A decentralized media server designed to handle media streaming on a global scale, making it suitable for large-scale applications but with minimal cost.

It is developed by 8xFF, a group of independent developers who are passionate about building a new generation of media server and network infrastructure with decentralization in mind. While we have received support from various companies and individuals, we are not affiliated with any specific company. 8xFF is a community-driven project, and we welcome anyone interested in contributing to join us.

For a deep dive into the technical aspects of network architecture, please refer to our Smart-Routing

<img src="https://img.youtube.com/vi/QF8ZJq9xuSU/hqdefault.jpg" />

(Above is a demo video of the version used by Bluesea Network)

Project Status: Refactoring

We are actively refactoring entire media server and network stack with sans-io-runtime for better performance. If you are looking for an older version, please check out the legacy branch.

Features

Feature Description Status
Cluster Room & Peer Multi-zones room & peer mechanism RFC-0003 πŸš€
Simulcast & SVC Support WebRTC Simulcast (VP8, H264) and SVC (VP9) πŸš€
Whip Whip Protocol πŸš€
Whep Whep Protocol πŸš€
WebRTC-SDK Webrtc-SDK Protocol RFC-0005 πŸš€
RTMP RTMP Protocol ❌
RTMP-Transcode RTMP with Transcode ❌
SIP SIP calls Sip-call-sample πŸš€
MoQ Media-over-Quic ❌
Monitoring Dashboard for monitoring ❌
Recording Record stream πŸš€
Gateway External gateway RFC-0003 πŸš€
Connector External event handling πŸš€

Status:

Quick Start (not ready yet)

Prebuild or build from source

docker run --net=host ghcr.io/8xff/atm0s-media-server:master --help
OS Arch Link
MacOS aarch64 Download
MacOS x86_64 Download
Linux aarch64 gnu Download
Linux x86_64 gnu Download
Linux aarch64 musl Download
Linux x86_64 musl Download
cargo build --release --package atm0s-media-server
./target/release/atm0s-media-server --help

Resources

Contributing

The project is continuously being improved and updated. We are always looking for ways to make it better, whether that's through optimizing performance, adding new features, or fixing bugs. We welcome contributions from the community and are always looking for new ideas and suggestions. If you find it interesting or believe it could be helpful, we welcome your contributions to the codebase or consider starring the repository to show your support and motivate our team!

For more information, you can access Contributor Guide and join our Discord channel

License

This project is licensed under the MIT License. See the LICENSE file for details.

Acknowledgments

We would like to thank all the contributors who have helped in making this project successful.