The QXmppJingleRtpHeaderExtensionProperty class represents the XEP-0294: Jingle RTP Header Extensions Negotiation "rtp-hdrext" element.
More...
◆ Senders
Parties that are allowed to send the negotiated RTP header extension
| Enumerator |
|---|
| Both | The initiator and the sender are allowed.
|
| Initiator | Only the initiator is allowed.
|
| Responder | Only the responder is allowed.
|
◆ QXmppJingleRtpHeaderExtensionProperty()
| QXmppJingleRtpHeaderExtensionProperty::QXmppJingleRtpHeaderExtensionProperty |
( |
| ) |
|
Constructs a Jingle RTP header extension property.
◆ id()
| uint32_t QXmppJingleRtpHeaderExtensionProperty::id |
( |
| ) |
const |
Returns the ID of the RTP header extension.
The ID is 0 if it is unset.
- Returns
- the RTP header extension's ID
◆ isJingleRtpHeaderExtensionProperty()
| bool QXmppJingleRtpHeaderExtensionProperty::isJingleRtpHeaderExtensionProperty |
( |
const QDomElement & |
element | ) |
|
|
static |
Determines whether the given DOM element is an RTP header extensions property element.
- Parameters
-
| element | DOM element being checked |
- Returns
- whether element is an RTP header extension property element
◆ parameters()
| QVector< QXmppSdpParameter > QXmppJingleRtpHeaderExtensionProperty::parameters |
( |
| ) |
const |
Returns the parameters of the RTP header extension.
- Returns
- the RTP header extension's parameters
◆ senders()
Returns the parties that are allowed to send the negotiated RTP header extensions.
- Returns
- the parties that are allowed to send the RTP header extensions
◆ setId()
| 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.
- Parameters
-
| id | RTP header extension's ID |
◆ setParameters()
| void QXmppJingleRtpHeaderExtensionProperty::setParameters |
( |
const QVector< QXmppSdpParameter > & |
parameters | ) |
|
Sets the parameters of the RTP header extension.
Additional parameters can be set by this method.
- Parameters
-
| parameters | RTP header extension's parameters |
◆ setSenders()
| void QXmppJingleRtpHeaderExtensionProperty::setSenders |
( |
Senders |
senders | ) |
|
Sets the parties that are allowed to send the negotiated RTP header extensions.
- Parameters
-
| senders | parties that are allowed to send the RTP header extensions |
◆ setUri()
| void QXmppJingleRtpHeaderExtensionProperty::setUri |
( |
const QString & |
uri | ) |
|
Sets the URI defning the RTP header extension.
- Parameters
-
| uri | RTP header extension's URI |
◆ uri()
| QString QXmppJingleRtpHeaderExtensionProperty::uri |
( |
| ) |
const |
Returns the URI defning the RTP header extension.
- Returns
- the RTP header extension's URI
The documentation for this class was generated from the following files: