Home · All Namespaces · All Classes · Grouped Classes · Modules · Functions |
The QMediaRtpPayload class describes an RTP payload type. More...
#include <QMediaRtpPayload>
The QMediaRtpPayload class describes an RTP payload type.
Payloads describe the encoding of RTP streams. They can be divided into two categories; well know payloads with IDs between 0 and 95, and undefined payloads with IDs between 96 and 127.
The encoding information associated with well known payload IDs is pre-defined and often no more information is given. If the ID is supported by an RTP provider it already knows the encoding and so the payload can be identified on the basis of the ID alone.
Undefined payloads are allocated their IDs dynamically and so the ID alone cannot be used to identify the payload. In this case the full details of the payload must be shared and the payload ID is simply used in the RTP stream to identify a shared payload. The isEquivalent() function can be used to determine if two payloads with different IDs refer to the same encoding.
Constructs a null RTP payload descriptor.
Constructs an RTP payload descriptor for a well known payload with the given id and stream type.
The id of a well known type must be between 0 and 95.
Constructs an RTP payload descriptor for a payload with a given id, stream type, encodingName, clockRate, and number of channels.
Constructs an RTP payload descriptor for a payload with a given id, stream type, encodingName, clockRate, number of channels and a list of type specific parameters.
Constructs a copy of the the RTP payload descriptor other.
Destroys an RTP payload descriptor.
Returns the number of channels of the payload or 0 if none has been specified.
Returns the clock rate of the payload.
Returns a list of payload descriptors that are common to both localPayloads and remotePayloads.
Where a two payloads are equivalent but not equal the remote payload is returned.
Returns the encoding name of the payload.
Returns the id of the payload.
Compares other to an RTP payload descriptor and return true if they represent the same payload and false otherwise.
Two descriptors represent the same payload of they share a common well known payload id() (<= 95) or both have a dynamic payload id() (>95) and all their parameters are equal.
Returns true if the payload is null and false otherwise.
Returns the additional payload parameter value associated with the given key.
Returns all the additional payload parameters.
Returns a list of the payload's additional parameter keys.
Returns the stream type of the payload.
Compares other to an RTP payload descriptor and return true if they are not equal and false otherwise.
This may fail for descriptors representing the same payload but with conflicting fields, ie comparison between well known payloads with incomplete and complete sets of parameters, or comparison of dynamic payloads with different payload ids). To determine if two descriptors represent the same payload use isEquivalent() instead.
See also isEquivalent().
Assigns the value of other to an RTP payload descriptor.
Compares other to an RTP payload descriptor and return true if they are equal and false otherwise.
This may fail for descriptors representing the same payload but with conflicting fields, ie comparison between well known payloads with incomplete and complete sets of parameters, or comparison of dynamic payloads with different payload ids). To determine if two descriptors represent the same payload use isEquivalent() instead.
See also isEquivalent().
Copyright © 2009 Nokia | Trademarks | Qt Extended 4.4.3 |