The QXmppJinglePayloadType class represents a payload type as specified by XEP-0167: Jingle RTP Sessions and RFC 5245.
More...
#include <QXmppJingleIq.h>
The QXmppJinglePayloadType class represents a payload type as specified by XEP-0167: Jingle RTP Sessions and RFC 5245.
◆ QXmppJinglePayloadType()
Constructs a copy of other.
- Parameters
-
◆ channels()
unsigned char QXmppJinglePayloadType::channels |
( |
| ) |
const |
Returns the number of channels (e.g. 1 for mono, 2 for stereo).
◆ clockrate()
unsigned int QXmppJinglePayloadType::clockrate |
( |
| ) |
const |
Returns the clockrate in Hz, i.e. the number of samples per second.
◆ id()
unsigned char QXmppJinglePayloadType::id |
( |
| ) |
const |
Returns the payload type identifier.
◆ maxptime()
unsigned int QXmppJinglePayloadType::maxptime |
( |
| ) |
const |
Returns the maximum packet time in milliseconds.
◆ name()
QString QXmppJinglePayloadType::name |
( |
| ) |
const |
Returns the payload type name.
◆ operator=()
Assigns the other payload type to this one.
- Parameters
-
◆ operator==()
◆ ptime()
unsigned int QXmppJinglePayloadType::ptime |
( |
| ) |
const |
Returns the packet time in milliseconds (20 by default).
◆ setChannels()
void QXmppJinglePayloadType::setChannels |
( |
unsigned char |
channels | ) |
|
Sets the number of channels (e.g. 1 for mono, 2 for stereo).
- Parameters
-
◆ setClockrate()
void QXmppJinglePayloadType::setClockrate |
( |
unsigned int |
clockrate | ) |
|
Sets the clockrate in Hz, i.e. the number of samples per second.
- Parameters
-
◆ setId()
void QXmppJinglePayloadType::setId |
( |
unsigned char |
id | ) |
|
Sets the payload type identifier.
◆ setMaxptime()
void QXmppJinglePayloadType::setMaxptime |
( |
unsigned int |
maxptime | ) |
|
Sets the maximum packet type in milliseconds.
- Parameters
-
◆ setName()
void QXmppJinglePayloadType::setName |
( |
const QString & |
name | ) |
|
Sets the payload type name.
- Parameters
-
◆ setPtime()
void QXmppJinglePayloadType::setPtime |
( |
unsigned int |
ptime | ) |
|
Sets the packet time in milliseconds (20 by default).
- Parameters
-
The documentation for this class was generated from the following files: