Crates.io | opentok |
lib.rs | opentok |
version | 1.0.4 |
source | src |
created_at | 2021-11-12 09:26:12.255252 |
updated_at | 2022-02-10 14:16:24.207091 |
description | Rust bindings for OpenTok SDK |
homepage | |
repository | https://github.com/opentok-rust/opentok-rs |
max_upload_size | |
id | 480864 |
size | 147,434 |
OpenTok SDK bindings for Rust.
These bindings are providing a safe API that can be used to interface with OpenTok.
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/.
Extract it somewhere in your machine and add the SDK's lib
folder path to your
LD_LIBRARY_PATH
and LIBRARY_PATH
environment variables:
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:
sudo dnf install -y libcxx-devel