Giter VIP home page Giter VIP logo

janus-webrtc-react-native's Introduction

Janus WebRTC React Native module

Usage

  1. Follow the official instructions to install React Native:

    • Install Node 8.3 or newer

    • Run the command in a shell:

        $ npm install -g react-native-cli
      
    • Install Android Studio or Xcode for mobile application development

  2. Clone this project. Install essential node modules with npm tool

         $ npm install
    
  3. Check the IP address of your computer. Set the parameter of your server host address (in App.js => let host = "10.1.7.19").

  4. Connect your device to your computer. Build the app and install it on your mobile device. The following code is for an android device.

         $ react-native start
         $ react-native run-android
    
  5. Launch Janus server, backend server and Nginx server. (See janus-demo-docker)

  6. Open this app in your mobile device. Press the button to communicate with Janus server and backend server.

  7. Check the log of your Docker server to see if connection is successful.

Extension

The janus.js and App.js are based on a project which is no longer maintained and cannot work due to obsolete APIs. By updating the use of some APIs, this demo can work now but needs amending.

Please regularly check the updating of the related library react-native-webrtc

janus-webrtc-react-native's People

Watchers

 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.