A one-to-one audio and video calls application built with WebRTC and Web Socket.
cd web- rename
config.example.jstoconfig.js - update settings if it is needed
'Xirsys' can be used for free STUN/TURN servers:
- get a free xirsys account
cd web- rename
Server.example.phptoServer.php - update it with your free credentials
Alternatively, you can use any STUN/TURN of your choice.
In first terminal:
cd web/ws/nodejs/
npm install
node ws_server.js
In second terminal:
cd web
php -S 0.0.0.0:8888
Then open: localhost:8888
Run ws server in background
cd ws/nodejs/ && nohup node ws_server.js > server.log 2>&1 &
Show processes for user
ps -u <USERNAME>
Show process by port
lsof -i :2735
Kill process
kill -9 <PID>