The QXmppCall class represents a Voice-Over-IP call to a remote party.
More...
#include <QXmppCallManager.h>
|
void | connected () |
| This signal is emitted when a call is connected. More...
|
|
void | finished () |
| This signal is emitted when a call is finished. More...
|
|
void | ringing () |
| This signal is emitted when the remote party is ringing.
|
|
void | stateChanged (QXmppCall::State state) |
| This signal is emitted when the call state changes.
|
|
void | audioModeChanged (QIODevice::OpenMode mode) |
| This signal is emitted when the audio channel changes.
|
|
void | videoModeChanged (QIODevice::OpenMode mode) |
| This signal is emitted when the video channel changes.
|
|
void | setGauge (const QString &gauge, double value) |
| Sets the given gauge to value.
|
|
void | logMessage (QXmppLogger::MessageType type, const QString &msg) |
| This signal is emitted to send logging messages.
|
|
void | updateCounter (const QString &counter, qint64 amount=1) |
| Updates the given counter by amount.
|
|
|
class | QXmppCallManager |
|
class | QXmppCallManagerPrivate |
|
class | QXmppCallPrivate |
|
|
void | debug (const QString &message) |
|
void | info (const QString &message) |
|
void | warning (const QString &message) |
|
void | logReceived (const QString &message) |
|
void | logSent (const QString &message) |
|
The QXmppCall class represents a Voice-Over-IP call to a remote party.
To get the QIODevice from which you can read / write audio samples, call audioChannel().
- Note
- THIS API IS NOT FINALIZED YET
◆ Direction
This enum is used to describe the direction of a call.
Enumerator |
---|
IncomingDirection | The call is incoming.
|
OutgoingDirection | The call is outgoing.
|
◆ State
This enum is used to describe the state of a call.
Enumerator |
---|
ConnectingState | The call is being connected.
|
ActiveState | The call is active.
|
DisconnectingState | The call is being disconnected.
|
FinishedState | The call is finished.
|
◆ accept
void QXmppCall::accept |
( |
| ) |
|
|
slot |
Call this method if you wish to accept an incoming call.
◆ audioChannel()
Returns the RTP channel for the audio data.
It acts as a QIODevice so that you can read / write audio samples, for instance using a QAudioOutput and a QAudioInput.
◆ connected
void QXmppCall::connected |
( |
| ) |
|
|
signal |
This signal is emitted when a call is connected.
Once this signal is emitted, you can connect a QAudioOutput and QAudioInput to the call. You can determine the appropriate clockrate and the number of channels by calling payloadType().
◆ finished
void QXmppCall::finished |
( |
| ) |
|
|
signal |
This signal is emitted when a call is finished.
Note: Do not delete the call in the slot connected to this signal, instead use deleteLater().
◆ hangup
void QXmppCall::hangup |
( |
| ) |
|
|
slot |
◆ sid()
QString QXmppCall::sid |
( |
| ) |
const |
Returns the call's session identifier.
◆ videoChannel()
Returns the RTP channel for the video data.
◆ direction
Returns the call's direction.
◆ jid
Returns the remote party's JID.
◆ state
The documentation for this class was generated from the following files: