Skip to content

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

Notifications You must be signed in to change notification settings

abdullah1308/Peer-Chat

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

7 Commits
 
 
 
 
 
 

Repository files navigation

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

About

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

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published