This is based on YouTube 📹 tutorial by Web Dev Simplified- How To Create A Video Chat App With WebRTC.
Using expressjs to create express server 🖥.
Using socket.io to create stream 📶.
Using uuid to create random urls 🔗 for video rooms.
Using peerjs to generate user Id 👱 to connect to video rooms.
npm i
npm i -g peer
npm run devStart
express server start listening at port 3000, so make sure port is free to use. If you wish to change can do so by changing in server.js file
peerjs --port 3001
peer server start listening at port 3001, so make sure port is free to use. If you wish to change can do so by changing in script.js file