QXmpp: QXmppTurnServer.h Source File

QXmpp Version: 1.14.2

Loading...
Searching...
No Matches
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
12namespace 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
QXmpp
Definition Algorithms.h:14
QXmpp::TurnServer
TURN server address.
Definition QXmppTurnServer.h:19
QXmpp::TurnServer::username
QString username
username for authentication
Definition QXmppTurnServer.h:25
QXmpp::TurnServer::host
QHostAddress host
host address of the TURN server
Definition QXmppTurnServer.h:21
QXmpp::TurnServer::password
QString password
password for authentication
Definition QXmppTurnServer.h:27
QXmpp::TurnServer::port
quint16 port
port of the TURN server (default: 3478)
Definition QXmppTurnServer.h:23