You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
927 B
927 B
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