Code Monkey home page Code Monkey logo

opentok-rs's Introduction

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

opentok-rs's People

Contributors

ferjm avatar philn avatar

Stargazers

 avatar  avatar  avatar

Watchers

 avatar  avatar  avatar

Forkers

philn

opentok-rs's Issues

Invalid memory reference (SIGSEGV) crash

Introduced by commit a581863
It's a racy crash, deep in libopentok. The commit looks good at first glance, this could be a bug in opentok, but I'm filing one here for initial triaging.

(gdb) bt                                                                                                 
#0  0x00007ffff69488c2 in otk_session_invoke_msg () at /usr/lib/libopentok.so                            
#1  0x00007ffff6939ab0 in otk_ev_async_callback () at /usr/lib/libopentok.so                             
#2  0x00007ffff69c4eea in uv.async_event () at /usr/lib/libopentok.so                                    
#3  0x00007ffff69c512d in uv.async_io () at /usr/lib/libopentok.so                                       
#4  0x00007ffff69ce253 in uv.io_poll () at /usr/lib/libopentok.so                                        
#5  0x00007ffff69c5588 in uv_run () at /usr/lib/libopentok.so                                            
#6  0x00007ffff693a251 in otk_ev_thread_main () at /usr/lib/libopentok.so                                
#7  0x00007ffff691f7ea in network_thread_main () at /usr/lib/libopentok.so                               
#8  0x00007ffff671dfa3 in start_thread () at /lib/x86_64-linux-gnu/libpthread.so.0                       
#9  0x00007ffff64c44cf in clone () at /lib/x86_64-linux-gnu/libc.so.6       

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.