Coder Social home page Coder Social logo

opentok / one-to-one-sample-apps Goto Github PK

View Code? Open in Web Editor NEW
99.0 35.0 36.0 64.51 MB

DEPRECATED: OpenTok One-to-One Communication Sample App

License: Other

Java 27.37% Objective-C 12.06% CSS 3.07% HTML 1.41% JavaScript 56.00% Ruby 0.08%
audio video opentok communication tokbox opentok-labs deprecated

one-to-one-sample-apps's Introduction

DEPRECATED: OpenTok One-to-One Communication Sample App
Version 1.3

Tokbox is now known as Vonage

This repository has been deprecated and is superseded by the following repositories:

accelerator-sample-apps-js

accelerator-sample-apps-android

accelerator-sample-apps-ios


The OpenTok One-to-One Communication Sample App is an open-source solution that enables you to quickly get started in your development efforts to set up interoperable, production-quality audio/video communication between users.

With this sample app, you can:

  • Start and end audio/visual communication between two users.
  • Achieve interoperability between web and mobile devices.
  • Mute or unmute audio.
  • Enable or disable video.
  • Control the camera to point in the forward direction or in the reverse direction (selfie mode).
  • Customize the UI features and layout.

You can create mobile apps for Android and iOS, or embed the interactive session between users into any website. To get started with your development, visit the following sites:

Device interoperability with One-to-One communication

The OpenTok One-to-One Communication Sample App highlights the interoperability of web and mobile devices using the OpenTok platform. Regardless of the supported devices used, the OpenTok platform supports the ability of users to interact with each other and exchange audio and video. Even if the clients are on different platforms, they can both connect, publish, and subscribe to streams in the same session.

This sample app requires a Session ID, Token, and API Key. In the sample, you can get these values at the OpenTok Developer Dashboard. For production deployment, you must generate the Session ID and Token values using one of the OpenTok Server SDKs.

For example, suppose one user is using a web (JS) version of the One-to-One Communication Sample App and another user is using a mobile version (Android or iOS). If they are both using the same Session ID and API Key, they can subscribe to each other’s audio and video streams, and the user interface rendered on both devices will allow them to interact with each other and take advantage of all the features of the sample app.

Use the following approach to try this out:

  1. Configure a web and mobile user with the required Session ID, Token, and API Key values, using the same Session ID and API Key for each.

  2. Start the web and mobile apps. You will observe the following interactions:

    • Both apps connect to the session.
    • Both apps start publishing and subscribing to each other’s streams.
  3. Observe what happens for each user when you:

    • Enable or disable local audio/video on the mobile app.
    • Enable or disable local audio/video on the web app.
    • Enable or disable remote audio/video on the mobile app.
    • Enable or disable remote audio/video on the web app.

As you get started with this OpenTok sample, you will learn the best practices used to develop and manage the audio, video, and camera elements on mobile devices or in the browser. We recommend this is as your first step in delivering Real Time Communications (WebRTC) solutions on the OpenTok platform.

Getting Help

We love to hear from you so if you have questions or comments, let us know! You can either:

one-to-one-sample-apps's People

Contributors

adrice727 avatar ggoldens avatar jneimantokbox avatar lucashuang0802 avatar marinaserranomontes avatar marko07 avatar michaeljolley avatar panoramicrum avatar southfox avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  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.