/video-call-webrtc-firebase

An online video call application based on WebRTC with Firebase as signaling service.

Primary LanguageJavaScriptApache License 2.0Apache-2.0

Video Call Application (WebRTC+Firebase)

An online video call application based on WebRTC with Firebase as signaling service. We use the firebase realtime database and utilize it's event driven updates to exchange session descriptions among the browsers and update their local/remote sdps.

🔥 Official Website : https://video-call-webrtc.vercel.app/

To Run (Locally)

  1. Git clone the project repository on your local system
git clone https://github.com/deepeshdm/video-call-webrtc-firebase.git
  1. Install dependencies in package.json
cd video-call-webrtc-firebase
npm install
  1. Copy your firebase app's configuration into 'firebase-config.js' file
const firebaseConfig = {
    apiKey: "xxxxxxxxxxxxxxxxxxxxxxxxxxxxxx",
    authDomain: "xxxxxxxxxxxxxxxxxxxxxxxxxxxxxx",
    databaseURL: "xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx",
    projectId: "xxxxxxxxxxxxxxxxxxxxxxxxxxxxxx",
    storageBucket: "xxxxxxxxxxxxxxxxxxxxxxxxxxxxxx",
    messagingSenderId: "xxxxxxxxxxxxxxxxxxxxxxxxxxxxxx",
    appId: "xxxxxxxxxxxxxxxxxxxxxxxxxxxxxx"
};
  1. Deploy project on local server
npm run dev

NOTE : For the video call to occur effectively both the users (client and receiver) must be online i.e connected to internet with their webcam feeds appearing on the screen.