Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/haze/mediasoup-rs
small (incomplete) media soup bindings for rust
https://github.com/haze/mediasoup-rs
Last synced: about 17 hours ago
JSON representation
small (incomplete) media soup bindings for rust
- Host: GitHub
- URL: https://github.com/haze/mediasoup-rs
- Owner: haze
- Created: 2020-11-27T04:28:53.000Z (almost 4 years ago)
- Default Branch: main
- Last Pushed: 2021-01-27T18:30:28.000Z (almost 4 years ago)
- Last Synced: 2024-05-02T03:32:18.019Z (7 months ago)
- Language: Rust
- Size: 59.6 KB
- Stars: 6
- Watchers: 2
- Forks: 3
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
# mediasoup-rs
There are a couple developer prerequisites before you can build the project (These are handled in `mediasoup-sys/build.rs`)The following environment variables need to be set
```
LIBWEBRTC_INCLUDE_PATH=/Users/haze/src/webrtc/src
LIBWEBRTC_BINARY_PATH=/Users/haze/src/webrtc/src/out/m84/obj
COMPILER_RT_PATH=/Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/lib/clang/12.0.0/lib/darwin
````LIBWEBRTC_BINARY_PATH` is the library search folder for the `libwebrtc` static library
`LIBWEBRTC_INCLUDE_PATH` is the source folder (and not includes!) for libwebrtc. this is needed for the cxx crate to analyze the code for our bindings
`COMPILER_RT_PATH` is needed by the linker on apple toolchains since it uses some macro to tell the minimum ios version. This is currently blocking the project to being mac only. Once I get the main functionality out of the way I can open up build.rs for working on other platforms.
After you set those, go to the root of this repo and run `cargo run -- --help` to get help information on what flags are available / required
## TODO
- explain how to install rust, what are it's tools, etc
- explain architecture