1 unstable release

new 0.8.0 Nov 7, 2024

#7 in #janus-gateway

Apache-2.0

100KB
2.5K SLoC

Jarust Core

The core of jarust.

It under the hood it uses jarust_interface to provide an abstract api for connecting, creating a session, attaching to a plugin, and then communicate with the plugin handle.

It's also the building block for the plugin crate jarust_plugins


lib.rs:

Jarust

Jarust is a Rust adapter for Janus WebRTC server.

It provides a high-level API to interact with the Janus server.

You can use it to connect with the Janus server, create a session, attach a plugin, send messages to the plugin, and handle the incoming messages.

Customizability

Janus supports multiple transports, each transport has a different API to interact with.

Jarust was built in a modular manner to support the variations Janus provides. It also has its customizations like the transaction generation strategy.

Runtime

We currently only support the Tokio runtime and are planning to support more runtimes in the future. For that, we've abstracted the runtime-specific code in the jarust_rt crate.

Plugins

We have a separate crate for Janus plugins, jarust_plugins.

Dependencies

~8–19MB
~252K SLoC