RRtpHeaderExtension Class Reference

#include <mw/rtp.h>

Link against: rtpremoved.lib

class RRtpHeaderExtension
Public Member Functions
IMPORT_C TPtrC8Data()
IMPORT_C voidSetType(TUint16)
IMPORT_C TUint16Type()

Detailed Description

Reresents an RTP packet's header extension.

The format of a header extension is profile-defined.

Member Function Documentation

Data ( )

IMPORT_C TPtrC8Data()

Gets a pointer descriptor representing the data in the RTP packet's header extension.

Return Value
The pointer descriptor representing the extension data.

SetType ( TUint16 )

IMPORT_C voidSetType(TUint16aType)

Sets the RTP packet's header extension type.

Parameters
aTypeThe header extension type, which is the first 2 bytes of the extension.

Type ( )

IMPORT_C TUint16Type()const

Gets the RTP packet's header extension type.

Return Value
The header extension type, which is the first 2 bytes of the extension.