From ac3ce93c566911262f8ee18c54361e954483e755 Mon Sep 17 00:00:00 2001 From: Daniel Gultsch Date: Sun, 1 Oct 2023 08:02:55 +0200 Subject: [PATCH] fix stun url generation --- .../eu/siacs/conversations/xmpp/jingle/JingleRtpConnection.java | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/main/java/eu/siacs/conversations/xmpp/jingle/JingleRtpConnection.java b/src/main/java/eu/siacs/conversations/xmpp/jingle/JingleRtpConnection.java index 9f2069ab2..ad2702850 100644 --- a/src/main/java/eu/siacs/conversations/xmpp/jingle/JingleRtpConnection.java +++ b/src/main/java/eu/siacs/conversations/xmpp/jingle/JingleRtpConnection.java @@ -2644,7 +2644,7 @@ public class JingleRtpConnection extends AbstractJingleConnection // STUN URLs do not support a query section since M110 final String uri; if (Arrays.asList("stun","stuns").contains(type)) { - uri = String.format("%s:%s%s", type, IP.wrapIPv6(host),port); + uri = String.format("%s:%s:%s", type, IP.wrapIPv6(host),port); } else { uri = String.format( "%s:%s:%s?transport=%s",