Expand description
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.
Modules§
Traits§
- GenerateTransaction can be provided to an interface for generating messages transcations.
Functions§
- Creates a new connection with janus server from the provided configs.
- Creates a new customized connection with janus servers.