Skip to content

kapilmishr/opentok-react-native-samples

 
 

Repository files navigation

OpenTok React Native Samples

Tokbox is now known as Vonage

These samples demonstrate how to use opentok-react-native to do video-calling in a React Native application.

Contents

In this repo, you'll find:

  • Basic Video Chat:

    • This sample application shows how to connect to an OpenTok session, publish a stream, and subscribe to multiple streams for both iOS and Android using the OpenTok React Native API.
  • Signaling:

    • This sample application shows how to connect to an OpenTok session and implement OpenTok Signaling to create a text chat for both iOS and Android using the OpenTok React Native API.

Pre-Requisites

  1. Install node.js

  2. Install Watchman: brew install watchman

  3. Install React Native CLI: npm install -g react-native-cli

  4. Install and update Xcode (you will need a Mac)

  1. Install and update Android Studio

Setup

  1. Clone this repo.

  2. In your terminal, change your directory to the sample project you want:

  • cd BasicVideoChat/ or cd Signaling/
  1. Install the required node modules: npm install

For iOS

  • Install the Podfile's dependencies: cd ios/ && pod install

Development and Contributing

Interested in contributing? We ❤️ pull requests! See the Contribution guidelines.

Getting Help

We love to hear from you so if you have questions, comments or find a bug in the project, let us know! You can either:

Further Reading

About

Sample applications using OpenTok and React Native

Resources

License

Code of conduct

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages

  • Java 41.7%
  • Objective-C 30.2%
  • JavaScript 17.3%
  • Ruby 5.0%
  • Starlark 4.0%
  • Swift 1.1%
  • C 0.7%