Test them in same NETWORK
Firebase is used as Signaling Server.
Create Firebase Project and create Webapp under it.
get following params
const firebaseConfig = {
apiKey: "",
authDomain: "",
databaseURL: "",
projectId: "",
storageBucket: "",
messagingSenderId: "",
appId: "",
measurementId: ""
};
Update permission of firestore
rules_version = '2';
service cloud.firestore {
match /databases/{database}/documents {
match /{document=**} {
allow read, write;
}
}
}
- Install dependencies
yarn install
- set up firebase and TURN server information in
.env.local
file
REACT_APP_API_KEY=
REACT_APP_AUTH_DOMAIN=
REACT_APP_PROJECT_ID=
REACT_APP_STORAGE_BUCKET=
REACT_APP_MESSAGING_SENDER_ID=
REACT_APP_APP_ID=
REACT_APP_MEASUREMENT_ID=
## your TURN Server Information
REACT_APP_TURN_URL=
REACT_APP_TURN_USERNAME=
REACT_APP_TURN_PASSWORD=
- build
yarn start
- Xiaomi all devices
- Samsung all Devices
- Chrome OS (Remote Screen Sharing Only)
Thanks
Ramesh Pokhrel - @medium