5 releases (breaking)

0.6.0 Sep 23, 2024
0.5.0 Sep 13, 2024
0.4.0 Jun 26, 2024
0.3.0 May 24, 2024
0.2.9 May 11, 2024

#2086 in Asynchronous

Apache-2.0

77KB
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

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 Transport

Jarust Transport abstracts the implementation details of the connection and the underlying transport, allowing customization of the transport layer. For example, dealing with WebSockets on major platforms can be over TCP, while in browsers, we have to use something like the web_sys crate.

It also enables choosing one of the built-in interfaces or bringing your own interface. The same goes for transaction generation.

Dependencies

~8–22MB
~342K SLoC