First trying webrtc
The second fight with webrtc (has an ally 'peerjs' this time). (First fight was webrtc-try). Steps for use:
- If you want to run signaling server locally, run the signaling server by
npm start
- Open index.html (also open again on different tab or window for other user)
- Type localhost, 9000, peerjs into signaling server address or leave blank to use peerjs's hosted signaling server. (see https://peerjs.com/peerserver.html and https://peerjs.com/docs.html#peer-options-config)
- Enter your username and remote username (who you want to connect)
- Press to "Connect to server"
- Select your devices
- Press call (no need on other side)