A basic one-on-one video chat app built with React, WebRTC and Firebase, enabling real-time, peer-to-peer and serverless video communication directly in the browser.
-
Google account with Firebase access
-
Run
npm install
-
Setup a Firebase project with Realtime Database. Sample guide here
-
Update
config.js
with your Firebase project config and a public STUN server
-
Run
npm start
-
Open http://localhost:3000 to view it in your browser
-
Open the link in an incognito window/different browser/different machine on the same network
-
Login with a unique name in each window and allow camera and microphone permissions
-
Call the other name in one of the two windows
-
Start/End Call
-
Turn-off Microphone
-
Turn-off Camera
-
Mute the Other Person
-
Dark and Light theme
-
Material Design
- This project is a proof of concept and does not support many essential usability, privacy and security features, and therefore, it should never be used in a production environment