#web-rtc #ffi

yanked batrachia

Facilitating high-level interactions between Rust and WebRTC

2 releases

0.1.1 Dec 17, 2022
0.1.0 Dec 16, 2022

#43 in #webrtc

GPL-2.0-or-later

89KB
1.5K SLoC

Rust ❤️ WebRTC
Facilitating high-level interactions between Rust and WebRTC



The rust high-level abstraction binding of Google WebRTC M99. With WebRTC, you can add real-time communication capabilities to your application that works on top of an open standard. It supports video, voice, and generic data to be sent between peers, allowing developers to build powerful voice- and video-communication solutions.

Quick start

Add the following to your Cargo.toml:

batrachia = "0.1.0"

There are simple example in the example repo.

Building

Automatic

The batrachia crate will automatically find the precompiled static library files in the git batrachiatc repo release.

Manual

A set of environment variables can be used to point batrachia towards. They will override the automatic detection logic.

  • WEBRTC_LIBRARY_PATH - webrtc static library path, this will skip downloading and use your static library.
  • SYS_LIBRARY_PATH - batrachiatc static library path, this will skip downloading and use your static library.

License

GPL Copyright (c) 2022 Mr.Panda.

Dependencies

~2.7–8.5MB
~65K SLoC