ScreenShare-WebRTC
ScreenShare-WebRTC copied to clipboard
Remote Screen Control with WEBRTC Implementation in ReactJS. Android Client: https://github.com/kanxoramesh/webrtc-android-client
WEBRTC implementation in REACTJS
About The Project
Test them in same NETWORK
Firebase setup
Firebase is used as Signaling Server.
Create WEB APP
Create Firebase Project and create Webapp under it.
get following params
const firebaseConfig = {
apiKey: "",
authDomain: "",
databaseURL: "",
projectId: "",
storageBucket: "",
messagingSenderId: "",
appId: "",
measurementId: ""
};
Firebase Firestore Permission
Update permission of firestore
rules_version = '2';
service cloud.firestore {
match /databases/{database}/documents {
match /{document=**} {
allow read, write;
}
}
}
RUN Locally
- Install dependencies
yarn install
- set up firebase and TURN server information in
.env.localfile
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
Working Devices
- Xiaomi all devices
- Samsung all Devices
- Chrome OS (Remote Screen Sharing Only)
Thanks
Contact
Ramesh Pokhrel - @medium