Giter Club home page Giter Club logo

opentok-ruby-sdk's Introduction

OpenTok

DESCRIPTION:

This is a ruby implementation of the OpenTok API. See complete documentation at www.tokbox.com/opentok/api/tools/documentation/api/server_side_libraries.html?proglang=ruby

FEATURES/PROBLEMS:

  • Features currently available:

    • Create a token for authenticating the JS API

    • Generate a new session ID

SYNOPSIS:

# To create an instance of the API object:

  o = OpenTokSDK.new(1,'322fddd07b3f16bcd516adc398dc1f7465e0b4fa')

# To generate a session ID using that instance:

  puts o.create_session('127.0.0.1',{'echoSuppression.enabled' => 'true'}).session_id

# To create a token using that instance

  print o.generate_token(session_id)

REQUIREMENTS:

  • xml-simple

  • A partner key and a partner secret on the OpenTok API (you can get those here: www.opentokbox.com/)

INSTALL:

Testing

To run the unit test, put your api key and secret in the variables at the beginning of the file and run “ruby test.rb”.

LICENSE:

OpenTok Ruby Library 0.9 www.opentok.com/

Copyright 2010, TokBox, Inc. Dual licensed under the MIT or GPL Version 2 licenses. www.tokbox.com/license

Date: 2010-11-07

opentok-ruby-sdk's People

Contributors

claudiob avatar michael-sander avatar mkascel avatar

Stargazers

 avatar

Watchers

 avatar  avatar

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.