Skip to content

Latest commit

 

History

History
 
 

react-native-webrtc-app

Folders and files

NameName
Last commit message
Last commit date

parent directory

..
 
 
 
 
 
 
 
 

WebRTC React Native App with Signalling


Run the Sample App

Clone the repository to your local environment.

git clone https://github.com/videosdk-live/webrtc.git

Server Setup

Step 1: Go to server folder

cd react-native-webrtc-app/server

Step 2: Install Dependency

npm install

Step 3: Run the project

npm run start

Client Setup

Step 1: Go to client folder

cd react-native-webrtc-app/client

Step 2: Install the dependecies

npm install

Step 3: Provide your local Ip address in SocketIOClient.

in App.js file, update the Network Ip address.

const socket = SocketIOClient("http://192.168.2.201:3500", {});

Step 4: Run the sample app

Bingo, it's time to push the launch button.

npm run start
npm android
npm ios