From 965f77d37855af63ae22aa73a225c6362a8a1d3b Mon Sep 17 00:00:00 2001 From: doobry Date: Sun, 19 Apr 2020 19:47:14 +0200 Subject: [PATCH] Change default STUN server to the new default jitsi.net one --- defaults/main.yml | 4 +--- templates/meet-config.js.j2 | 2 ++ 2 files changed, 3 insertions(+), 3 deletions(-) diff --git a/defaults/main.yml b/defaults/main.yml index bad64e2..d3358c3 100644 --- a/defaults/main.yml +++ b/defaults/main.yml @@ -33,7 +33,5 @@ jitsi_meet_debconf_settings: jitsi_meet_config_resolution: 720 jitsi_meet_config_disable_third_party_requests: "true" jitsi_meet_config_stun_servers: - - stun.l.google.com:19302 - - stun1.l.google.com:19302 - - stun2.l.google.com:19302 + - stun:meet-jit-si-turnrelay.jitsi.net:443 jitsi_meet_config_default_language: en diff --git a/templates/meet-config.js.j2 b/templates/meet-config.js.j2 index 8d41916..1712de5 100644 --- a/templates/meet-config.js.j2 +++ b/templates/meet-config.js.j2 @@ -338,6 +338,7 @@ var config = { // The STUN servers that will be used in the peer to peer connections stunServers: [ + {% for server in jitsi_meet_config_stun_servers %} { urls: 'stun:{{ server }}' }{% if not loop.last -%}, {% endif %} @@ -527,6 +528,7 @@ var config = { startBitrate */ + // Allow all above example options to include a trailing comma and // prevent fear when commenting out the last value. makeJsonParserHappy: 'even if last key had a trailing comma'