A many-to-many video call app built on WebRTC but created as a testing ground for PeerJS
Douglas MacKrell is a NYC based Full Stack Web Developer who is currently looking for work!
Implementing PeerJS for the very first time
This web app uses WebRTC facilitated through PeerJS on a shared sever to make peer-to-peer many-to-many video calls
NOTE: You must install Node.js in your computer for this to run.
You can check to see if you already have Node.js by typing node -v
in your terminal. If your shell/terminal doesn’t complain and you see version numbers you are good to go.
Clone this repo into a folder of your choice:
`git clone https://github.com/DouglasMacKrell/dougs-video-chat.git`
Install dependencies for the app from inside the cloned root folder:
`npm install`
To launch the App, make sure you have nothing else running on port 3000 and 3001, from inside the root folder run:
`npm run devStart`
Open a new browser window and visit localhost:3000
. The browser should ask you for permission to connect to your camera and microphone. The app will generate a room code in the URL. When you visit the same URL localhost:3000/:roomId
, it will make the peer-to-peer connection and connect the call instantly.
To disconnect from a call, simply close the browser window.
Currently, the app is only designed to run locally on the same network
If that is not the case check the terminals output for errors, if you are unable to troubleshoot the problem, I would be happy to address issues so open one