https://github.com/ferjm/opentok-rs
Rust bindings for the OpenTok SDK
https://github.com/ferjm/opentok-rs
bindings opentok rust sdk webrtc
Last synced: 23 days ago
JSON representation
Rust bindings for the OpenTok SDK
- Host: GitHub
- URL: https://github.com/ferjm/opentok-rs
- Owner: ferjm
- License: mit
- Created: 2021-05-10T07:44:15.000Z (about 4 years ago)
- Default Branch: main
- Last Pushed: 2023-02-27T19:38:28.000Z (over 2 years ago)
- Last Synced: 2025-03-31T16:34:38.604Z (2 months ago)
- Topics: bindings, opentok, rust, sdk, webrtc
- Language: Rust
- Homepage: https://ferjm.github.io/opentok-rs/opentok
- Size: 3.61 MB
- Stars: 3
- Watchers: 3
- Forks: 1
- Open Issues: 1
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
# Rust bindings for OpenTok SDK
[](https://github.com/ferjm/opentok-rs/actions/workflows/rust.yml)[OpenTok SDK](https://tokbox.com/developer/sdks/linux/) bindings for Rust.
These bindings are providing a safe API that can be used to interface with OpenTok.
[Documentation](https://ferjm.github.io/opentok-rs/opentok)
## Setting up your environment
To build the OpenTok bindings or anything depending on them, you need to have
the OpenTok 2.19.1 SDK installed. For now the only supported platform is Linux and
2.19.1 is the only supported version.You need to download the SDK from
[https://tokbox.com/developer/sdks/linux/](https://tokbox.com/developer/sdks/linux/).
Extract it somewhere in your machine and add the SDK's `lib` folder path to your
`LD_LIBRARY_PATH` and `LIBRARY_PATH` environment variables:```sh
wget https://tokbox.com/downloads/libopentok_linux_llvm_x86_64-2.19.1
tar xvf libopentok_linux_llvm_x86_64-2.19.1 -C /home/quijote/opentok
export LD_LIBRARY_PATH="/home/quijote/opentok/libopentok_linux_llvm_x86_64-2.19.1/lib:$LD_LIBRARY_PATH"
export LIBRARY_PATH="/home/quijote/opentok/libopentok_linux_llvm_x86_64-2.19.1/lib:$LIBRARY_PATH"
```In Fedora you need to make sure `libcxx` is installed:
```sh
sudo dnf install -y libcxx-devel
```