demo proximity voice
1.0.0
該項目的非毒性基礎是Demo-Voice
這是使用PEERJS來處理webrtc和socket.io來幫助客戶端連接的peerjs的組演示語音聊天的演示。
您需要生成一個自簽名的證書來運行此證書,因為語音媒體只能在安全連接上使用:
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
使用npm install並運行npm start 。打開https://127.0.0.1:3000 https://yourexternalip:3000或https://yourlanip:3000在多個設備上的支持瀏覽器中。