An simple nodeJs Websocket VOIP application without the use of WebRTC and extra Servers like TURN or STUN. No client proxy!
Note: this is just an experiment. Pls use WebRTC if you want to create a professional VOIP application!
- Install npm and node
- Clone or download this repo and go to the "nodeJsVoip" folder
- install node deps -> run:
npm install
- start the Server -> run:
node server.js
- connect to https://myserverip (with 2 tabs or browsers to hear yourself)
- Chrome
- Firefox
- Edge
You have 2 options for using this app with docker
docker run -d --name=nodejsvoip -p 80:80 -p 443:443 rofl256/nodejsvoip
Now connect to https://myserverip
sudo docker build -t nodejsvoip .
now run the container from the image you have just created. (use the command from above and change the image name)
- improve sound quallity by implementing opus