aboutsummaryrefslogtreecommitdiff
path: root/src/base/QXmppStun.h
diff options
context:
space:
mode:
authorNiels Ole Salscheider <niels_ole@salscheider-online.de>2020-03-10 13:19:31 +0100
committerLNJ <lnj@kaidan.im>2020-03-16 22:22:59 +0100
commitbb47e1b9cd2926bed3e63f528e063e462c28975a (patch)
tree1b86c3f9774bc86a55509da35a479c88ca7c49ab /src/base/QXmppStun.h
parent133c94dcf874162860351e34aa1a92a1d942ad2c (diff)
downloadqxmpp-bb47e1b9cd2926bed3e63f528e063e462c28975a.tar.gz
Allow to set multiple STUN servers
This way we can for example add a server for IPv4 and one IPv6.
Diffstat (limited to 'src/base/QXmppStun.h')
-rw-r--r--src/base/QXmppStun.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/src/base/QXmppStun.h b/src/base/QXmppStun.h
index f46916c8..fe835daa 100644
--- a/src/base/QXmppStun.h
+++ b/src/base/QXmppStun.h
@@ -267,6 +267,7 @@ public:
void setRemoteUser(const QString &user);
void setRemotePassword(const QString &password);
+ void setStunServers(const QList<QPair<QHostAddress, quint16>> &servers);
void setStunServer(const QHostAddress &host, quint16 port = 3478);
void setTurnServer(const QHostAddress &host, quint16 port = 3478);
void setTurnUser(const QString &user);