|
QXmpp Version: 1.15.1
|
The QXmppJingleRtpHeaderExtensionProperty class represents the XEP-0294: Jingle RTP Header Extensions Negotiation "rtp-hdrext" element. More...
Public Types | |
| enum | Senders { Both , Initiator , Responder } |
Public Member Functions | |
| QXmppJingleRtpHeaderExtensionProperty () | |
| Default constructor. | |
| QXmppJingleRtpHeaderExtensionProperty (const QString &uri, uint32_t id) | |
| uint32_t | id () const |
| void | setId (uint32_t id) |
| QString | uri () const |
| void | setUri (const QString &uri) |
| Senders | senders () const |
| void | setSenders (Senders senders) |
| QVector< QXmppSdpParameter > | parameters () const |
| void | setParameters (const QVector< QXmppSdpParameter > ¶meters) |
Static Public Member Functions | |
| static bool | isJingleRtpHeaderExtensionProperty (const QDomElement &element) |
The QXmppJingleRtpHeaderExtensionProperty class represents the XEP-0294: Jingle RTP Header Extensions Negotiation "rtp-hdrext" element.
| QXmppJingleRtpHeaderExtensionProperty::QXmppJingleRtpHeaderExtensionProperty | ( | const QString & | uri, |
| uint32_t | id ) |
Default constructor
| uint32_t QXmppJingleRtpHeaderExtensionProperty::id | ( | ) | const |
Returns the ID of the RTP header extension.
The ID is 0 if it is unset.
|
static |
Determines whether the given DOM element is an RTP header extensions property element.
| element | DOM element being checked |
| QVector< QXmppSdpParameter > QXmppJingleRtpHeaderExtensionProperty::parameters | ( | ) | const |
Returns the parameters of the RTP header extension.
| QXmppJingleRtpHeaderExtensionProperty::Senders QXmppJingleRtpHeaderExtensionProperty::senders | ( | ) | const |
Returns the parties that are allowed to send the negotiated RTP header extensions.
| void QXmppJingleRtpHeaderExtensionProperty::setId | ( | uint32_t | id | ) |
Sets the ID of the RTP header extension.
The ID must either be at least 1 and at most 256 or at least 4096 and at most 4351.
| id | RTP header extension's ID |
| void QXmppJingleRtpHeaderExtensionProperty::setParameters | ( | const QVector< QXmppSdpParameter > & | parameters | ) |
Sets the parameters of the RTP header extension.
Additional parameters can be set by this method.
| parameters | RTP header extension's parameters |
| void QXmppJingleRtpHeaderExtensionProperty::setSenders | ( | Senders | senders | ) |
Sets the parties that are allowed to send the negotiated RTP header extensions.
| senders | parties that are allowed to send the RTP header extensions |
| void QXmppJingleRtpHeaderExtensionProperty::setUri | ( | const QString & | uri | ) |
Sets the URI defning the RTP header extension.
| uri | RTP header extension's URI |
| QString QXmppJingleRtpHeaderExtensionProperty::uri | ( | ) | const |
Returns the URI defning the RTP header extension.