Skip to content

Latest commit

 

History

History
23 lines (15 loc) · 1.25 KB

README.md

File metadata and controls

23 lines (15 loc) · 1.25 KB

Peer-Chat

A P2P video chat application based on WebRTC built using React and Node using the simple-peer and Socket.io packages.

Setup Instructions

  1. Download or clone the repository and run npm i to install the necessary packages
  2. Open the client directory in the terminal and run npm start to start the front-end
  3. Open the server directory in the terminal and run node index.js to start the back-end
  4. The application will be visible on http://localhost:3000

Usage

  1. To start a call locally, open the application on two separate tabs
  2. Give permission to the application to access microphone and camera.
  3. Click on the COPY YOUR ID button on one of the tabs and paste it in the ID to Call input in the other tab and click on the Call button.

image

  1. After a few seconds a ringtone will be audible on the tab whose ID was pasted in the ID to Call input and buttons to answer and decline the call will be visible.

image