QXmpp Version: 1.12.0
Loading...
Searching...
No Matches
QXmppCallManager_p.h
1// SPDX-FileCopyrightText: 2019 Jeremy Lainé <jeremy.laine@m4x.org>
2// SPDX-FileCopyrightText: 2019 Niels Ole Salscheider <ole@salscheider.org>
3// SPDX-FileCopyrightText: 2025 Linus Jahn <lnj@kaidan.im>
4//
5// SPDX-License-Identifier: LGPL-2.1-or-later
6
7#ifndef QXMPPCALLMANAGER_P_H
8#define QXMPPCALLMANAGER_P_H
9
10#include "QXmppCall.h"
11
12#include <QHostAddress>
13#include <QList>
14
17
18//
19// W A R N I N G
20// -------------
21//
22// This file is not part of the QXmpp API.
23// This header file may change from version to version without notice,
24// or even be removed.
25//
26// We mean it.
27//
28
29class QXmppCallManagerPrivate
30{
31public:
32 explicit QXmppCallManagerPrivate(QXmppCallManager *qq);
33 QXmppCall *findCall(const QString &sid) const;
34 QXmppCall *findCall(const QString &sid, QXmppCall::Direction direction) const;
35
36 QList<QXmppCall *> calls;
37 QList<QPair<QHostAddress, quint16>> stunServers;
38 QHostAddress turnHost;
39 quint16 turnPort = 0;
40 QString turnUser;
41 QString turnPassword;
42
43 bool dtlsRequired = false;
44 bool supportsDtls = false;
45
46private:
48};
49
50#endif
The QXmppCallManager class provides support for making and receiving voice calls.
Definition QXmppCallManager.h:27
Definition QXmppCall.h:23
Direction
This enum is used to describe the direction of a call.
Definition QXmppCall.h:34
Definition QXmppJingleData.h:350