Table of Contents
This is a video conferencing application that is used to host virtual meetings, chats and audio conferencing. The major tech stacks used are PeerJS, socket.io, Google Firebase and Express. Website: https://bit.ly/video-chat-
P2P connection will not be established over different networks by just cloning this repository.
Turn Server should also be implemented to build a P2P Connection over different networks.
Otherwise, you may run the application on Local Network.
You will need to integrate firebase database with the application to store chat for future use.
(Steps mentioned in Installation section)Prerequisites
This is an example of how to list things you need to use the software and how to install them.
- npm
npm install npm@latest -g
- dotenv: "^10.0.0"
- ejs: "^3.1.6",
- express: "^4.17.1",
- express-session: "^1.17.2",
- firebase: "^8.7.1",
- peer: "^0.6.1",
- peerjs: "^1.3.2",
- socket.io: "^4.1.2",
- uuid : "^8.3.2"
-
Get a free API Key at https://firebase.google.com/
-
Setup a realtime database on firebase google. Refer This
-
Setup a TURN server. Refer This
-
Clone the repo
git clone https://github.com/your_username_/Project-Name.git
-
Install NPM packages
npm install
-
Enter your API in
.envfile. Refer.env_sampleAPI_KEY = 'ENTER YOUR API';
-
Add your TURN SERVER Credentials (Lines 51-55) in
script.js -
While hosting on Heroku, Uncomment Lines 39-56 in
script.js -
To run the application on Local Host
- Open the command prompt from your project directory and run the command
npm start. - Go to your browser and type http://localhost:3030/ in the address bar.
- Open the command prompt from your project directory and run the command
| Video On/Off | Audio On/Off |
| Chat | Show Participants |
| Quick Message | Send Emoji |
| Raise Hand | Pin Video |
| Copy Meet Code | End Call |
Pulkit Changoiwala - @pulkitchangoiwala - changoiw@iitg.ac.in
Project Link: https://github.com/PulkitChangoiwala/Video_Chat_App



