class RRtpPacket |
A handle to an RTP packet.
The packet is accessed through the interface provided by this handle.
Public Member Functions | |
---|---|
RRtpPacket () | |
IMPORT_C RRtpCSRCs | CSRCs () |
IMPORT_C void | Close () |
IMPORT_C RRtpHeaderExtension | Extension () |
IMPORT_C TBool | ExtensionPresent () |
IMPORT_C TUint | Flags () |
TBool | IsOpen () |
IMPORT_C TBool | Marker () |
IMPORT_C TPtrC8 | Payload () |
IMPORT_C TUint | PayloadType () |
IMPORT_C TUint | SSRC () |
IMPORT_C TUint | SequenceNumber () |
IMPORT_C TUint | Timestamp () |
TBool | operator!= ( RRtpPacket ) |
TBool | operator== ( RRtpPacket ) |
Protected Attributes | |
---|---|
TRtpPacket * | iPtr |
IMPORT_C RRtpCSRCs | CSRCs | ( | ) | const |
Gets a handle to a list of CSRCs (contributing sources).
If there are no CSRCs, then the list is empty.
IMPORT_C RRtpHeaderExtension | Extension | ( | ) | const |
Gets the packet's header extension.
IMPORT_C TBool | ExtensionPresent | ( | ) | const |
Tests whether the packet has a header extension.
IMPORT_C TUint | Flags | ( | ) | const |
Gets the first 32 bits of the packet header.
This may be useful for profiles that do things such as using a different number of marker bits.
Flags returned in this format.... V is most significant bit in flags 0 1 2 3 0 1 2 3 4 5 6 7 8 9 0 1 2 3 4 5 6 7 8 9 0 1 2 3 4 5 6 7 8 9 0 1 +-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+ |V=2|P|X| CC |M| PT | sequence number | +-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+
IMPORT_C TBool | Marker | ( | ) | const |
Tests whether the marker bit is set in the packet header.
IMPORT_C TPtrC8 | Payload | ( | ) | const |
Gets a pointer descriptor representing the packet's payload.
IMPORT_C TUint | PayloadType | ( | ) | const |
Gets the type of payload carried by the packet.
IMPORT_C TUint | SSRC | ( | ) | const |
Gets the SSRC, the 32-bit numeric synchronisation source identifier.
IMPORT_C TUint | SequenceNumber | ( | ) | const |
Gets the packet's sequence number.
IMPORT_C TUint | Timestamp | ( | ) | const |
Gets the packet's timestamp.
This is a monotonic linear time representation, but the resolution and zero point are profile dependent.
TBool | operator!= | ( | RRtpPacket | aThat | ) | const [inline] |
Tests whether this packet handle represents a different packet to the one represented by the specified handle.
RRtpPacket aThat | The handle of the packet to be compared. |
TBool | operator== | ( | RRtpPacket | aThat | ) | const [inline] |
Tests whether this packet handle represents the same packet as the one represented by the specified handle.
RRtpPacket aThat | The handle of the packet to be compared. |
Copyright ©2010 Nokia Corporation and/or its subsidiary(-ies).
All rights
reserved. Unless otherwise stated, these materials are provided under the terms of the Eclipse Public License
v1.0.