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

#2140 in Asynchronous

Download history 151/week @ 2024-06-23 7/week @ 2024-06-30 3/week @ 2024-07-28 5/week @ 2024-08-25 2/week @ 2024-09-01 138/week @ 2024-09-08 70/week @ 2024-09-15 209/week @ 2024-09-22 30/week @ 2024-09-29 4/week @ 2024-10-06

337 downloads per month

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

~7–21MB
~341K SLoC