The QXmppCallManager class provides support for making and receiving voice calls. More...
#include <QXmppCallManager.h>
Signals | |
void | callReceived (QXmppCall *call) |
Public Member Functions | |
QXmppCallManager () | |
~QXmppCallManager () | |
Destroys the QXmppCallManager object. | |
QXmppCall * | call (const QString &jid) |
Friends | |
class | QXmppCallManagerPrivate |
The QXmppCallManager class provides support for making and receiving voice calls.
Session initiation is performed as described by XEP-0166: Jingle, XEP-0167: Jingle RTP Sessions and XEP-0176: Jingle ICE-UDP Transport Method.
The data stream is connected using Interactive Connectivity Establishment (RFC 5245) and data is transferred using Real Time Protocol (RFC 3550) packets.
To make use of this manager, you need to instantiate it and load it into the QXmppClient instance as follows:
QXmppCallManager *manager = new QXmppCallManager; client->addExtension(manager);
QXmppCallManager::QXmppCallManager | ( | ) |
Constructs a QXmppCallManager object to handle incoming and outgoing Voice-Over-IP calls.
QXmppCall * QXmppCallManager::call | ( | const QString & | jid | ) |
Initiates a new outgoing call to the specified recipient.
jid |
void QXmppCallManager::callReceived | ( | QXmppCall * | call | ) | [signal] |
This signal is emitted when a new incoming call is received.
To accept the call, invoke the call's QXmppCall::accept() method. To refuse the call, invoke the call's QXmppCall::hangup() method.