Skip to content

Latest commit

 

History

History
14 lines (9 loc) · 738 Bytes

README.md

File metadata and controls

14 lines (9 loc) · 738 Bytes

Simple Peer Proximity Voice Chat

The non-proximity base for this project is demo-voice

This is a demo for a group proxmity voice chat using peerjs to handle WebRTC and socket.io to help clients connect.

You need to generate a self-signed certificate to run this as voice media can only be used over secure connections:

openssl genrsa -out key.pem
openssl req -new -key key.pem -out csr.pem
openssl x509 -req -days 9999 -in csr.pem -signkey key.pem -out cert.pem
rm csr.pem

Install dependencies with npm install and run with npm start. Open https://127.0.0.1:3000, https://yourexternalip:3000, or https://yourlanip:3000 in a supporting browser on multiple devices.