I have installed KMS from docker on Ubuntu 20.04. I was trying to see, if I can configure the docker, but I failed. Neither limiting the candidates to UDP only (KMS_ICE_TCP=0) nor setting the public IP seem to have any impact on the candidates KMS delivers to my test app.
Yepp, you are right w.r.t. KMS_EXTERNAL_IPV4. Sorry for that and thanks for pointing me to the solution. But I can’t get rid of the TCP candidates, where is the typo in the other option?
I have checked the sources and from there it looks fine. But if I run the docker with -e KMS_ICE_TCP=0 -e KMS_EXTERNAL_IPV4=1.2.3.4 the appropriate entry for the IP is OK (“externalIPv4=1.2.3.4”), but “iceTCP” is still at “;iceTcp=1”. I entered the shell of the container to check /etc/kurento/modules/kurento/WebRtcEndpoint.conf.ini