mirror of
https://github.com/ianramzy/decentralized-video-chat.git
synced 2024-11-14 14:19:20 +08:00
Peer to peer browser video calling platform with unmatched video quality and latency.
public | ||
.env | ||
.env.template | ||
.gitignore | ||
package-lock.json | ||
package.json | ||
README.md | ||
server.js |
Decentralized Video Chat
→ https://neonchat.io
Decentralized video chat platform powered by WebRTC using Twilio STUN/TURN infrastructure.
Quick start
- Clone this repo
git clone https://github.com/ianramzy/decentralized-video-chat
cd decentralized-video-chat
- Install dependencies
npm install
- Create a
.env
file copying.env.template
(You copy the file using the command below). - Fill in your
Account SID
andAuth Token
from your Twilio console It takes 2 minutes to sign up for a free account.
cp .env.template .env
- Start the server
npm start
- Open two browsers on your laptop and point them
localhost:3000
. - If you want to use a client on another computer, make sure you publish your server on an HTTPS connection. You can use a service like ngrok for that.