-
Notifications
You must be signed in to change notification settings - Fork 291
ICE servers configuration is not loaded #93
Description
Hi all,
I have cloned the source code and built it via docker command:
docker build -t linagora/hublin .
I have configured the webrtc in default.json as below:
"webrtc": {
"enabled": true,
"appIceServers": [
{"url": "stun:<MY_TURN_SERVER>:3478"},
{"url": "turn:<MY_TURN_SERVER>:3478?transport=tcp", "username": "admin", "credential": "admin"}
],
"level": "debug",
"roomNameRegExp": "^.{1,64}$",
"usernameRegExp": "^(.){1,200}$",
"adapter": "hublin.easyrtc.connector"
},
I have also added a further default.production.json which contains same info as above.
My turn server is working correctly and I have verified it via the GitHub Trickle ICE page either from internet or from intranet.
I then run the hublin via docker-compose command:
DOCKER_IP=192.168.5.220 docker-compose -f docker-compose.yml up
Problem is that when I start a conf room and I have a participant from internet and another joining from the intranet they can't see each others video and no audio is available.
In the hublin log I see:
hublin | debug: WebRTC Requesting ICE configuration
hublin | info: Ice servers are not configured, using default ones
and in chrome console logs I see:
angular.js:14791 setOnError with error: NOVIABLEICE [error={"errorCode":"SYSTEM_ERR","errorText":"NOVIABLEICE"}]
(anonymous) @ angular.js:14791
(anonymous) @ easyrtc-adapter.service.js:236
Easyrtc.showError @ easyrtc.js:4100
(anonymous) @ easyrtc.js:6608
pc.oniceconnectionstatechange @ easyrtc.js:6269
In the wireshark I see that STUN requests are sent to private IP addresses and connection isn't established.
I usually re-run the docker build command after each configuration change but the ICE servers setting never gets loaded into hublin.
Any idea?
Thanks