QXmpp  Version: 1.15.1
QXmppTurnServer.h
1 // SPDX-FileCopyrightText: 2025 Linus Jahn <lnj@kaidan.im>
2 //
3 // SPDX-License-Identifier: LGPL-2.1-or-later
4 
5 #ifndef QXMPPTURNSERVER_H
6 #define QXMPPTURNSERVER_H
7 
8 #include "QXmppGlobal.h"
9 
10 #include <QHostAddress>
11 
12 namespace QXmpp {
13 
19 struct TurnServer {
21  QHostAddress host;
23  quint16 port;
25  QString username;
27  QString password;
28 };
29 
30 } // namespace QXmpp
31 
32 #endif // QXMPPTURNSERVER_H
QHostAddress host
host address of the TURN server
Definition: QXmppTurnServer.h:21
TURN server address.
Definition: QXmppTurnServer.h:19
QString username
username for authentication
Definition: QXmppTurnServer.h:25
quint16 port
port of the TURN server (default: 3478)
Definition: QXmppTurnServer.h:23
QString password
password for authentication
Definition: QXmppTurnServer.h:27