From df94197dd82c3629d4a6ea4b5318f85d2f95b76b Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Josu=C3=A9=20Tille?= Date: Sat, 9 Mar 2024 02:17:10 +0100 Subject: [PATCH] fix turns call with android --- scripts/_common.sh | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/scripts/_common.sh b/scripts/_common.sh index 5294183..b6aeab5 100755 --- a/scripts/_common.sh +++ b/scripts/_common.sh @@ -97,9 +97,9 @@ configure_synapse() { fi local turn_server_config="" if $enable_dtls_for_audio_video_turn_call; then - turn_server_config='turn_uris: [ "stuns:'$domain:$port_turnserver_tls'?transport=dtls", "stuns:'$domain:$port_turnserver_tls'?transport=tls", "turns:'$domain:$port_turnserver_tls'?transport=dtls", "turns:'$domain:$port_turnserver_tls'?transport=tls" ]' + turn_server_config='turn_uris: [ "turns:'$domain:$port_turnserver_tls'", "turns:'$domain:$port_turnserver_alt_tls'" ]' else - turn_server_config='turn_uris: [ "turn:'$domain:$port_turnserver_tls'?transport=udp", "turn:'$domain:$port_turnserver_tls'?transport=tcp" ]' + turn_server_config='turn_uris: [ "turn:'$domain:$port_turnserver_tls'", "turn:'$domain:$port_turnserver_alt_tls'" ]' fi ynh_add_config --template="homeserver.yaml" --destination="/etc/matrix-$app/homeserver.yaml"