10#include "QXmppCallStream.h"
11#include "QXmppClientExtension.h"
12#include "QXmppLogger.h"
18class QXmppCallPrivate;
20class QXmppCallManagerPrivate;
29 Q_PROPERTY(QString
jid READ
jid CONSTANT)
56 std::optional<QXmppError> error()
const;
58 GstElement *pipeline()
const;
62 bool isEncrypted()
const;
63 bool videoSupported()
const;
92 const std::unique_ptr<QXmppCallPrivate> d;
93 friend class QXmppCallManager;
94 friend class QXmppCallManagerPrivate;
95 friend class QXmppCallPrivate;
The QXmppCallManager class provides support for making and receiving voice calls.
Definition QXmppCallManager.h:25
Definition QXmppCallStream.h:22
Definition QXmppCall.h:24
Q_SIGNAL void ringing()
This signal is emitted when the remote party is ringing.
QString jid
The remote party's JID.
Definition QXmppCall.h:29
Direction
This enum is used to describe the direction of a call.
Definition QXmppCall.h:35
@ OutgoingDirection
The call is outgoing.
Definition QXmppCall.h:37
@ IncomingDirection
The call is incoming.
Definition QXmppCall.h:36
Q_SIGNAL void streamCreated(QXmppCallStream *stream)
This signal is emitted when a stream is created.
Q_SIGNAL void finished()
This signal is emitted when a call is finished.
QString sid() const
Definition QXmppCall.cpp:785
State
This enum is used to describe the state of a call.
Definition QXmppCall.h:42
@ ActiveState
The call is active.
Definition QXmppCall.h:44
@ DisconnectingState
The call is being disconnected.
Definition QXmppCall.h:45
@ FinishedState
The call is finished.
Definition QXmppCall.h:46
@ ConnectingState
The call is being connected.
Definition QXmppCall.h:43
Direction direction
The call's direction.
Definition QXmppCall.h:27
Q_SIGNAL void connected()
This signal is emitted when a call is connected.
Q_SIGNAL void stateChanged(QXmppCall::State state)
This signal is emitted when the call state changes.
std::optional< QXmppError > error() const
Definition QXmppCall.cpp:805
State state
The call's state.
Definition QXmppCall.h:31
QXmppLoggable(QObject *parent=nullptr)
Definition QXmppLogger.cpp:57
Definition QXmppError.h:17