kurento: specify network interface for reduced candidates and open sockets

This commit is contained in:
chandi 2020-05-31 00:14:14 +02:00
parent a4368f27cd
commit 17c78ccbcd
2 changed files with 7 additions and 2 deletions

View File

@ -95,6 +95,7 @@ services:
KMS_MAX_PORT: 32768 KMS_MAX_PORT: 32768
KMS_EXTERNAL_ADDRESS: ${EXTERNAL_IP} KMS_EXTERNAL_ADDRESS: ${EXTERNAL_IP}
KMS_TURN_URL: KMS_TURN_URL:
KMS_NETWORK_INTERFACES: ${NETWORK_INTERFACE:-}
network_mode: host network_mode: host
webrtc-sfu: webrtc-sfu:

View File

@ -7,6 +7,10 @@ DOMAIN=bbb.example.com
EXTERNAL_IP=144.76.97.10 EXTERNAL_IP=144.76.97.10
# setting the network interface speeds up kurentos WebRTC connection time
#NETWORK_INTERFACE=ens3
# STUN SERVER
# stun.freeswitch.org # stun.freeswitch.org
STUN_IP=216.93.246.18 STUN_IP=216.93.246.18
STUN_PORT=3478 STUN_PORT=3478