OpenTok Server Rust SDK
The OpenTok Server Rust SDK wraps the OpenTok REST API. It lets developers securely create sessions and generate tokens for their applications that use the Vonage Video API. Developers can also use the server SDK to work with OpenTok archives. Use it in conjunction with the OpenTok client SDK.
Usage
let api_key = var.unwrap;
let api_secret = var.unwrap;
let opentok = new;
let session_id = opentok.create_session.await;
let token = opentok.generate_token;
Running the tests
The tests expect a working network connection and the following environment variables defined:
The tests make use of the OpenTok client SDK, so you'll need to install its dependencies, starting with the OpenTok Linux SDK:
GStreamer is also required: