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://localhost:8080 (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 8080:8080 Yonle/nodejsvoip
Now connect to https://server:8080
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