webrtc-rs / sfu

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

Home Page:https://sfu.rs

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

SFU

License: MIT/Apache 2.0

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

Table of Content

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!!!

About

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

https://sfu.rs

License:Apache License 2.0


Languages

Language:Rust 98.9%Language:Shell 0.8%Language:Dockerfile 0.2%