1 unstable release

0.7.0 Oct 1, 2024

#1956 in Asynchronous

Download history 162/week @ 2024-09-30 16/week @ 2024-10-07 17/week @ 2024-10-14

195 downloads per month
Used in 2 crates

Apache-2.0

78KB
2K SLoC

Jarust   Latest Version

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:


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