QXmppJinglePayloadType Class
The QXmppJinglePayloadType class represents a payload type as specified by XEP-0167: Jingle RTP Sessions and RFC 5245. More...
| Header: | #include <QXmppJingleData.h> |
Public Functions
| QXmppJinglePayloadType(const QXmppJinglePayloadType &other) | |
| unsigned char | channels() const |
| unsigned int | clockrate() const |
| unsigned char | id() const |
| unsigned int | maxptime() const |
| QString | name() const |
| QMap<QString, QString> | parameters() const |
| unsigned int | ptime() const |
| QList<QXmppJingleRtpFeedbackInterval> | rtpFeedbackIntervals() const |
(since QXmpp 1.5) QList<QXmppJingleRtpFeedbackProperty> | rtpFeedbackProperties() const |
| void | setChannels(unsigned char channels) |
| void | setClockrate(unsigned int clockrate) |
| void | setId(unsigned char id) |
| void | setMaxptime(unsigned int maxptime) |
| void | setName(const QString &name) |
| void | setParameters(const QMap<QString, QString> ¶meters) |
| void | setPtime(unsigned int ptime) |
| void | setRtpFeedbackIntervals(const QList<QXmppJingleRtpFeedbackInterval> &rtpFeedbackIntervals) |
(since QXmpp 1.5) void | setRtpFeedbackProperties(const QList<QXmppJingleRtpFeedbackProperty> &rtpFeedbackProperties) |
| QXmppJinglePayloadType & | operator=(const QXmppJinglePayloadType &other) |
| bool | operator==(const QXmppJinglePayloadType &other) const |
Detailed Description
Member Function Documentation
QXmppJinglePayloadType::QXmppJinglePayloadType(const QXmppJinglePayloadType &other)
Constructs a copy of other.
unsigned char QXmppJinglePayloadType::channels() const
Returns the number of channels (e.g. 1 for mono, 2 for stereo).
See also setChannels().
unsigned int QXmppJinglePayloadType::clockrate() const
Returns the clockrate in Hz, i.e. the number of samples per second.
See also setClockrate().
unsigned char QXmppJinglePayloadType::id() const
Returns the payload type identifier.
See also setId().
unsigned int QXmppJinglePayloadType::maxptime() const
Returns the maximum packet time in milliseconds.
See also setMaxptime().
QString QXmppJinglePayloadType::name() const
Returns the payload type name.
See also setName().
QMap<QString, QString> QXmppJinglePayloadType::parameters() const
Returns the payload parameters.
See also setParameters().
unsigned int QXmppJinglePayloadType::ptime() const
Returns the packet time in milliseconds (20 by default).
See also setPtime().
QList<QXmppJingleRtpFeedbackInterval> QXmppJinglePayloadType::rtpFeedbackIntervals() const
Returns the RTP feedback intervals.
See also setRtpFeedbackIntervals().
[since QXmpp 1.5] QList<QXmppJingleRtpFeedbackProperty> QXmppJinglePayloadType::rtpFeedbackProperties() const
Returns the RTP feedback properties.
This function was introduced in QXmpp 1.5.
See also setRtpFeedbackProperties().
void QXmppJinglePayloadType::setChannels(unsigned char channels)
Sets the number of channels (e.g. 1 for mono, 2 for stereo).
See also channels().
void QXmppJinglePayloadType::setClockrate(unsigned int clockrate)
Sets the clockrate in Hz, i.e. the number of samples per second.
See also clockrate().
void QXmppJinglePayloadType::setId(unsigned char id)
Sets the payload type identifier.
id.
See also id().
void QXmppJinglePayloadType::setMaxptime(unsigned int maxptime)
Sets the maximum packet type in milliseconds.
maxptime.
See also maxptime().
void QXmppJinglePayloadType::setName(const QString &name)
Sets the payload type name.
See also name().
void QXmppJinglePayloadType::setParameters(const QMap<QString, QString> ¶meters)
Sets the payload parameters.
See also parameters().
void QXmppJinglePayloadType::setPtime(unsigned int ptime)
Sets the packet time in milliseconds (20 by default).
ptime.
See also ptime().
void QXmppJinglePayloadType::setRtpFeedbackIntervals(const QList<QXmppJingleRtpFeedbackInterval> &rtpFeedbackIntervals)
Sets the rtpFeedbackIntervals of RTP feedback.
See also rtpFeedbackIntervals().
[since QXmpp 1.5] void QXmppJinglePayloadType::setRtpFeedbackProperties(const QList<QXmppJingleRtpFeedbackProperty> &rtpFeedbackProperties)
Sets the rtpFeedbackProperties of RTP feedback.
This function was introduced in QXmpp 1.5.
See also rtpFeedbackProperties().
QXmppJinglePayloadType &QXmppJinglePayloadType::operator=(const QXmppJinglePayloadType &other)
Assigns other payload type to this one.
bool QXmppJinglePayloadType::operator==(const QXmppJinglePayloadType &other) const
Returns true if this QXmppJinglePayloadType and other refer to the same payload type.