Skip to content

nexmo-saleseng/opentok-react-native-samples

 
 

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

32 Commits
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

OpenTok React Native Samples

OpenTok Labs

These samples demonstrate how to use opentock-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

Contributing

If you make changes to the project that you would like to contribute back then please follow the contributing guidelines. All contributions are greatly appreciated!

About

Sample applications using OpenTok and React Native

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages

  • Objective-C 39.2%
  • JavaScript 22.0%
  • Python 19.6%
  • Java 14.1%
  • Ruby 2.6%
  • Swift 1.5%
  • C 1.0%