No, You can DIY a room service
No, You can DIY a websocket reverse proxy for biz which support auth(jwt etc..)
No, all ion service can be deloyed online. You must open the port which they need.
No.
2020-04-28 21:15:52.809 ERR read tcp 127.0.0.1:65507->127.0.0.1:4440: read: connection reset by peer
Make sure your vpn is closed
- git clone https://github.com/pion/ion
- cd ion, do some change:
set the port range:
portrange = [50000, 60000]
uncomment the two lines:
[[webrtc.iceserver]]
urls = ["stun:stun.stunprotocol.org:3478"]
add two lines to: sdk/js/demo/webpack.config.js
--- a/sdk/js/demo/webpack.config.js
+++ b/sdk/js/demo/webpack.config.js
@@ -32,5 +32,7 @@ module.exports = {
contentBase: './dist',
hot: true,
host: '0.0.0.0',
+ disableHostCheck: true,
+ port: 443,
}
};
- make sure these ports is opened on your cloud server firewall!!
443
8443
50000-60000
- run all modules
first, put your cert.pem and key.pem in configs
second, run
./scripts/allStart.sh
then, chat with https://yourdomain
The steps I took to get the docker version running on a fresh AWS vm Names will be different for GCP and Azure, but similar concept
- Create vm
- Export ports 80, 443 and 5000-5200 as detiled in the readme
- Map elastic/external ip to the vm
- Configure dns records to point to new ip. THIS IS NEEDED LATER
- Clone Ion and checkout docker branch
- Modify docker-compose.yml following the readme instructions and with the domain you mapped earlier.
export WWW_URL=yourdomain
export ADMIN_EMAIL=youremail
docker-compose pull
docker-compose up
- docker-compose up
- chat with: https://yourdomain:8080