QXmpp Version: 1.10.0
|
The QXmppJingleDescription class represents descriptions for Jingle elements including media type, streaming source, namespace and payload types. More...
Public Member Functions | |
QString | media () const |
void | setMedia (const QString &media) |
quint32 | ssrc () const |
void | setSsrc (quint32 ssrc) |
QString | type () const |
void | setType (const QString &type) |
void | addPayloadType (const QXmppJinglePayloadType &payload) |
const QList< QXmppJinglePayloadType > & | payloadTypes () const |
void | setPayloadTypes (const QList< QXmppJinglePayloadType > &payloadTypes) |
The QXmppJingleDescription class represents descriptions for Jingle elements including media type, streaming source, namespace and payload types.
void QXmppJingleDescription::addPayloadType | ( | const QXmppJinglePayloadType & | payload | ) |
Adds a payload type to the list of payload types.
QString QXmppJingleDescription::media | ( | ) | const |
Returns the media type.
const QList< QXmppJinglePayloadType > & QXmppJingleDescription::payloadTypes | ( | ) | const |
Returns a list of payload types.
void QXmppJingleDescription::setMedia | ( | const QString & | media | ) |
Sets the media type.
void QXmppJingleDescription::setPayloadTypes | ( | const QList< QXmppJinglePayloadType > & | payloadTypes | ) |
Sets the list of payload types.
void QXmppJingleDescription::setSsrc | ( | quint32 | ssrc | ) |
Sets the streaming source.
void QXmppJingleDescription::setType | ( | const QString & | type | ) |
Sets the description namespace.
quint32 QXmppJingleDescription::ssrc | ( | ) | const |
Returns the streaming source.
QString QXmppJingleDescription::type | ( | ) | const |
Returns the description namespace.