opentok

Crates.ioopentok
lib.rsopentok
version1.0.4
sourcesrc
created_at2021-11-12 09:26:12.255252
updated_at2022-02-10 14:16:24.207091
descriptionRust bindings for OpenTok SDK
homepage
repositoryhttps://github.com/opentok-rust/opentok-rs
max_upload_size
id480864
size147,434
Philippe Normand (philn)

documentation

https://opentok-rust.github.io/opentok-rs/opentok/

README

Rust bindings for OpenTok SDK

Rust

OpenTok SDK bindings for Rust.

These bindings are providing a safe API that can be used to interface with OpenTok.

Documentation

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/. 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
Commit count: 115

cargo fmt