Ecosyste.ms: Awesome

An open API service indexing awesome lists of open source software.

Awesome Lists | Featured Topics | Projects

https://github.com/8xFF/atm0s-media-server

Decentralized, Global-Scale Media Server written in Rust (WebRTC/Whip/Whep/Rtmp/Sip)
https://github.com/8xFF/atm0s-media-server

cluster decentralized latency media-server rtmp rust scalable sfu sip streaming video webrtc whep whip

Last synced: 3 months ago
JSON representation

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

Awesome Lists containing this project

README

        


















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](https://github.com/8xFF/atm0s-sdn/blob/master/docs/smart_routing.md)

[](https://www.youtube.com/embed/QF8ZJq9xuSU)

(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](https://github.com/8xff/sans-io-runtime) for better performance. If you are looking for an older version, please check out the [legacy branch](https://github.com/8xFF/atm0s-media-server/tree/legacy).

## 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](https://blog.cloudflare.com/announcing-cloudflare-calls/))

| Feature | Description | Status |
| ------------------- | --------------------------------------------------------------------------------- | ------ |
| Cluster Room & Peer | Multi-zones room & peer mechanism [RFC-0003](https://github.com/8xFF/rfcs/pull/3) | 🚀 |
| Simulcast & SVC | Support WebRTC Simulcast (VP8, H264) and SVC (VP9) | 🚀 |
| Whip | Whip Protocol | 🚀 |
| Whep | Whep Protocol | 🚀 |
| WebRTC-SDK | Webrtc-SDK Protocol [RFC-0005](https://github.com/8xFF/rfcs/pull/5) | 🚀 |
| RTMP | RTMP Protocol | ❌ |
| RTMP-Transcode | RTMP with Transcode | ❌ |
| SIP | SIP calls [Sip-call-sample](https://github.com/8xFF/atm0s-media-sip-call-sample) | 🚀 |
| MoQ | Media-over-Quic | ❌ |
| Monitoring | Dashboard for monitoring | ❌ |
| Recording | Record stream | 🚀 |
| Gateway | External gateway [RFC-0003](https://github.com/8xFF/rfcs/pull/3) | 🚀 |
| 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

```bash
docker run --net=host ghcr.io/8xff/atm0s-media-server:master --help
```

- Download prebuild

| OS | Arch | Link |
| ----- | ------------ | ----------------------------------------------------------------------------------------------------------------------------- |
| MacOS | aarch64 | [Download](https://github.com/8xFF/atm0s-media-server/releases/download/latest/atm0s-media-server-aarch64-apple-darwin) |
| MacOS | x86_64 | [Download](https://github.com/8xFF/atm0s-media-server/releases/download/latest/atm0s-media-server-x86_64-apple-darwin) |
| Linux | aarch64 gnu | [Download](https://github.com/8xFF/atm0s-media-server/releases/download/latest/atm0s-media-server-aarch64-unknown-linux-gnu) |
| Linux | x86_64 gnu | [Download](https://github.com/8xFF/atm0s-media-server/releases/download/latest/atm0s-media-server-x86_64-unknown-linux-gnu) |
| Linux | aarch64 musl | [Download](https://github.com/8xFF/atm0s-media-server/releases/download/latest/atm0s-media-server-aarch64-unknown-linux-musl) |
| Linux | x86_64 musl | [Download](https://github.com/8xFF/atm0s-media-server/releases/download/latest/atm0s-media-server-x86_64-unknown-linux-musl) |

- Build from source

```
cargo build --release --package atm0s-media-server
./target/release/atm0s-media-server --help
```

## Resources

- [Summary](./docs/SUMMARY.md)
- [Getting Started](./docs/getting-started/README.md)
- [User Guide](./docs/user-guide/README.md)
- [Contributor Guide](./docs/contributor-guide/README.md)
- [RFCs](https://github.com/8xff/RFCs)
- [FAQ](./docs/getting-started/faq.md)

## 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](./docs/contributor-guide/README.md) and join our [Discord channel](https://discord.gg/qXr5zxsJWp)

## License

This project is licensed under the MIT License. See the [LICENSE](LICENSE) file for details.

## Acknowledgments

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