Skip to content

Decentralized, Global-Scale Media Server written in Rust (WebRTC/Whip/Whep/Rtmp/Sip)

License

Notifications You must be signed in to change notification settings

jibon57/atm0s-media-server

 
 

Repository files navigation

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

(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

  • 🚀 Powered by Rust with memory safety and performance.
  • High availability by being fully decentralized, with no central controller.
  • 🛰️ Multi-zone support, high scalability.
  • Support encodings: H264, Vp8, Vp9, H265 (Coming soon), AV1 (Coming soon)
  • Cross-platform: Linux, macOS, Windows.
  • Decentralized WebRTC SFU (Selective Forwarding Unit)
  • Easy to deploy: single binary, Docker, or Kubernetes
  • Easy to scale: global pubsub network, similar to Cloudflare interconnected network)
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
MoQ Media-over-Quic
Monitoring Dashboard for monitoring
Recording Record stream 🚀
Gateway External gateway RFC-0003 🚀
Connector External event handling 🚀

Status:

  • ❌: Not started
  • 🚧: In progress
  • 🚀: In review/testing
  • ✅: Completed

Quick Start (not ready yet)

Prebuild or build from source

  • From Docker
docker run --net=host ghcr.io/8xff/atm0s-media-server:master --help
  • Download prebuild
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
  • Build from source
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.

About

Decentralized, Global-Scale Media Server written in Rust (WebRTC/Whip/Whep/Rtmp/Sip)

Resources

License

Stars

Watchers

Forks

Packages

No packages published

Languages

  • Rust 96.9%
  • JavaScript 2.6%
  • Other 0.5%