Browse Source

Add STUN host and port for v1.6.2

Seungmin Kim 1 year ago
parent
commit
4ee3535bf6
1 changed files with 2 additions and 0 deletions
  1. 2 0
      selkies-gstreamer-entrypoint.sh

+ 2 - 0
selkies-gstreamer-entrypoint.sh

@@ -40,6 +40,8 @@ if [ -z "${SELKIES_TURN_REST_URI}" ] && { { [ -z "${SELKIES_TURN_USERNAME}" ] ||
   export SELKIES_TURN_USERNAME="selkies"
   export SELKIES_TURN_USERNAME="selkies"
   export SELKIES_TURN_PASSWORD="${TURN_RANDOM_PASSWORD}"
   export SELKIES_TURN_PASSWORD="${TURN_RANDOM_PASSWORD}"
   export SELKIES_TURN_PROTOCOL="${SELKIES_TURN_PROTOCOL:-tcp}"
   export SELKIES_TURN_PROTOCOL="${SELKIES_TURN_PROTOCOL:-tcp}"
+  export SELKIES_STUN_HOST="${SELKIES_STUN_HOST:-stun.l.google.com}"
+  export SELKIES_STUN_PORT="${SELKIES_STUN_PORT:-19302}"
   /etc/start-turnserver.sh &
   /etc/start-turnserver.sh &
 fi
 fi