1 unstable release
0.7.0 | Oct 1, 2024 |
---|
#1956 in Asynchronous
195 downloads per month
Used in 2 crates
78KB
2K
SLoC
Jarust
Jarust is a Rust adapter for Janus WebRTC server
Internally uses WebSockets to connect to Janus. But you can provide your own transport.
The library wraps the Janus core API and some of the most popular plugins APIs.
The supported Janus plugins currently are:
- EchoTest
- AudioBridge
- VideoBridge
- Streaming
Examples
To run the examples first you have to lunch the janus server.
docker compose up -d
Then you can run any of the these examples:
- jarust examples, example usage of core jarust.
- plugins examples, example usage of jarust's predefined plugins.
lib.rs
:
Jarust Interface
Jarust interface continas:
- Transport abstraction, you can use the built-in WebSocket interface, restful interface, or bring your own.
- Transaction generation abstraction, you can use the built-in transaction generator or bring your own.
- DTOs for the Janus API.
- Errors
Dependencies
~7–22MB
~344K SLoC