Skip to content

mindlercare/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 43.9%
  • C++ 16.3%
  • Objective-C 13.3%
  • JavaScript 8.0%
  • Objective-C++ 5.2%
  • Ruby 3.6%
  • Other 9.7%