{"id":20836203,"url":"https://github.com/ferjm/opentok-server-rs","last_synced_at":"2026-05-17T19:31:48.366Z","repository":{"id":46415363,"uuid":"417110165","full_name":"ferjm/opentok-server-rs","owner":"ferjm","description":"The OpenTok Server SDK in Rust","archived":false,"fork":false,"pushed_at":"2021-10-27T08:06:23.000Z","size":1872,"stargazers_count":0,"open_issues_count":0,"forks_count":0,"subscribers_count":2,"default_branch":"main","last_synced_at":"2025-01-18T22:26:51.228Z","etag":null,"topics":["api","opentok","rust","sdk","server","webrtc"],"latest_commit_sha":null,"homepage":"https://ferjm.github.io/opentok-server-rs/opentok_server/","language":"Rust","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":null,"status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/ferjm.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":null,"code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null}},"created_at":"2021-10-14T11:52:07.000Z","updated_at":"2021-10-27T08:06:25.000Z","dependencies_parsed_at":"2022-09-19T18:53:50.046Z","dependency_job_id":null,"html_url":"https://github.com/ferjm/opentok-server-rs","commit_stats":null,"previous_names":[],"tags_count":0,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/ferjm%2Fopentok-server-rs","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/ferjm%2Fopentok-server-rs/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/ferjm%2Fopentok-server-rs/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/ferjm%2Fopentok-server-rs/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/ferjm","download_url":"https://codeload.github.com/ferjm/opentok-server-rs/tar.gz/refs/heads/main","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":243189407,"owners_count":20250724,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2022-07-04T15:15:14.044Z","host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":["api","opentok","rust","sdk","server","webrtc"],"created_at":"2024-11-18T00:29:04.731Z","updated_at":"2026-05-17T19:31:43.335Z","avatar_url":"https://github.com/ferjm.png","language":"Rust","funding_links":[],"categories":[],"sub_categories":[],"readme":"# OpenTok Server Rust SDK\n\n[![Rust](https://github.com/ferjm/opentok-server-rs/actions/workflows/rust.yml/badge.svg)](https://github.com/ferjm/opentok-server-rs/actions/workflows/rust.yml)\n\nThe OpenTok Server Rust SDK wraps the OpenTok REST API. It lets developers securely create sessions and generate tokens\nfor their applications that use the Vonage Video API. Developers can also use the server SDK to work with OpenTok archives.\nUse it in conjunction with the [OpenTok client SDK](https://github.com/ferjm/opentok-rs).\n\n## Usage\n\n```rust\n    let api_key = env::var(\"OPENTOK_KEY\").unwrap();\n    let api_secret = env::var(\"OPENTOK_SECRET\").unwrap();\n    let opentok = OpenTok::new(api_key, api_secret);\n    let session_id = opentok.create_session(SessionOptions::default()).await;\n    let token = opentok.generate_token(session_id, TokenRole::Publisher);\n```\n\n## Running the tests\n\nThe tests expect a working network connection and the following environment variables defined:\n\n```sh\nexport OPENTOK_KEY=\u003cyour-opentok-api-key\u003e\nexport OPENTOK_SECRET=\u003cyour-opentok-api-secret\u003e\n```\n\nThe tests make use of the [OpenTok client SDK](https://github.com/ferjm/opentok-rs), so you'll\nneed to install its dependencies, starting with the OpenTok Linux SDK:\n\n```sh\nwget https://tokbox.com/downloads/libopentok_linux_llvm_x86_64-2.19.1\ntar xvf libopentok_linux_llvm_x86_64-2.19.1 -C /home/quijote/opentok\nexport LD_LIBRARY_PATH=\"/home/quijote/opentok/libopentok_linux_llvm_x86_64-2.19.1/lib:$LD_LIBRARY_PATH\"\nexport LIBRARY_PATH=\"/home/quijote/opentok/libopentok_linux_llvm_x86_64-2.19.1/lib:$LIBRARY_PATH\"\n```\n\n[GStreamer](https://gitlab.freedesktop.org/gstreamer/gstreamer-rs) is also required:\n\n```sh\nsudo apt -y install libgstreamer-plugins-base1.0-dev\n```\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fferjm%2Fopentok-server-rs","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fferjm%2Fopentok-server-rs","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fferjm%2Fopentok-server-rs/lists"}