Skip to content
No description, website, or topics provided.
JavaScript Objective-C Python Java
Branch: master
Clone or download

Latest commit

Fetching latest commit…
Cannot retrieve the latest commit at this time.

Files

Permalink
Type Name Latest commit message Commit time
Failed to load latest commit information.
android Upgrade to latest react-native (0.44.x) May 19, 2017
ios Prevent crash on iOS when app is backgrounded and phone is locked May 19, 2017
.buckconfig upgrade to RN 0.29.0 Jul 7, 2016
.flowconfig Upgrade to latest react-native (0.44.x) May 19, 2017
.gitignore Upgrade to latest react-native (0.44.x) May 19, 2017
.watchmanconfig Init Sep 27, 2015
LICENSE Add LICENSE Oct 29, 2015
README.md Update README.md Jan 6, 2016
app.json Upgrade to latest react-native (0.44.x) May 19, 2017
index.android.js use const, let, import Jul 7, 2016
index.ios.js use const, let, import Jul 7, 2016
main.js change getLocalStream flow to align latest master May 19, 2017
package.json Upgrade to latest react-native (0.44.x) May 19, 2017

README.md

RCTWebRTCDemo

Demo for https://github.com/oney/react-native-webrtc

Usage

  • Clone the repository, run npm install.
  • For iOS, run the project on Xcode.
  • For Android, run react-native run-android in the directory.

You can run the app in Device/Simulator, or open https://react-native-webrtc.herokuapp.com.
Enter the same room ID(any word such as hello, yoyo, etc) in two or more devices or browers, the audio and video stream will be connected.

NOTE

  • Don't run it on iOS simulator, or change to navigator.getUserMedia({"audio": true, "video": false}) to test audio only.
You can’t perform that action at this time.