sfu icon indicating copy to clipboard operation
sfu copied to clipboard

WebRTC Selective Forwarding Unit (SFU) in Rust with Sans-IO

SFU

License: MIT/Apache 2.0

WebRTC Selective Forwarding Unit (SFU) in Rust with Sans-IO

Table of Content
  • Building
    • Toolchain
    • Build
  • Open Source License
  • Contributing

Building

Toolchain

SFU.rs currently requires Rust 1.75.0+ to build.

Build

To build sfu crate:

cargo build [or clippy or test or fmt]

To build sync version chat examples (preferred):

cargo run --package sfu --example sync_chat

To build async version chat examples (caveat: its performance is much worse than sync version, maybe due to async runtime):

cargo run --package sfu --example async_chat

Open Source License

Dual licensing under both MIT and Apache-2.0 is the currently accepted standard by the Rust language community and has been used for both the compiler and many public libraries since ( see https://doc.rust-lang.org/1.6.0/complement-project-faq.html#why-dual-mitasl2-license). In order to match the community standards, SFU.rs is using the dual MIT+Apache-2.0 license.

Contributing

Contributors or Pull Requests are Welcome!!!