CMceComAudioCodec Class Reference

class CMceComAudioCodec : public CMceComCodec

Container class for the codec information.

Since

Inherits from

Public Member Functions
~CMceComAudioCodec ()
CMceComAudioCodec * CloneL ()
TInt CompareSdpIndex (const CMceComAudioCodec &, const CMceComAudioCodec &)
void ExternalizeFlatL ( RWriteStream &)
TMceComAudioCodecFactory Factory ()
void InternalizeFlatL ( RReadStream &)
CMceComAudioCodec * NewL ( TBuf8 < KMceMaxSdpNameLength >)
CMceComAudioCodec * NewLC ( TBuf8 < KMceMaxSdpNameLength >)
TInt SetMaxPTime ( TUint )
TInt SetPTime ( TUint )
TInt SetSamplingFreq ( TUint )
void UpdateL ( CMceComCodec &)
Protected Member Functions
CMceComAudioCodec ()
void ConstructL ( CMceComAudioCodec &)
void ConstructL ( TBuf8 < KMceMaxSdpNameLength >)
Inherited Functions
CBase::CBase()
CBase::Delete(CBase *)
CBase::Extension_(TUint,TAny *&,TAny *)
CBase::operator new(TUint)
CBase::operator new(TUint,TAny *)
CBase::operator new(TUint,TLeave)
CBase::operator new(TUint,TLeave,TUint)
CBase::operator new(TUint,TUint)
CBase::~CBase()
CMceComCodec::BaseFactory()
CMceComCodec::CMceComCodec()
CMceComCodec::ConstructL(CMceComCodec &)
CMceComCodec::Decodes(const TDesC8 &,const TDesC8 &,TBool)
CMceComCodec::EventReceivedL(TMceEvent &)
CMceComCodec::ExternalizeL(MMceComSerializationContext &)
CMceComCodec::FmtpAttr()const
CMceComCodec::GetMaxBitRate()
CMceComCodec::Id()const
CMceComCodec::InitializeL(CMceComMediaStream &)
CMceComCodec::InternalizeL(MMceComSerializationContext &)
CMceComCodec::IsEnabled()const
CMceComCodec::ResolveAllowedBitrates(TUint,TUint &)
CMceComCodec::SendSupported()
CMceComCodec::SerializationId()const
CMceComCodec::SetAllowedBitrates(TUint)
CMceComCodec::SetBitrate(TUint)
CMceComCodec::SetCodecMode(TUint)
CMceComCodec::SetEnabled(TBool)
CMceComCodec::SetFmtpAttributeL(const TDesC8 &,TBool)
CMceComCodec::SetKeepAliveDataL(const TDesC8 &)
CMceComCodec::SetPayloadType(TUint8)
CMceComCodec::Stream()const
CMceComCodec::~CMceComCodec()
Public Attributes
TBool iComfortNoiseEnabled
TBool iEnableVAD
TUint iMaxPTime
TUint iPTime
TUint iRedCount
TUint8 iRedPayloadType
TUint iSamplingFreq
Inherited Attributes
CMceComCodec::iAllowedBitrates
CMceComCodec::iBitrate
CMceComCodec::iCodecMode
CMceComCodec::iCodecSdpIndex
CMceComCodec::iFmtpAttr
CMceComCodec::iFmtpProposal
CMceComCodec::iFourCC
CMceComCodec::iFrameSize
CMceComCodec::iID
CMceComCodec::iIsEnabled
CMceComCodec::iIsNegotiated
CMceComCodec::iKeepAliveData
CMceComCodec::iKeepAlivePayloadType
CMceComCodec::iKeepAliveTimer
CMceComCodec::iPayloadType
CMceComCodec::iPreference
CMceComCodec::iPriority
CMceComCodec::iPriorityPreference
CMceComCodec::iSdpName
CMceComCodec::iState
CMceComCodec::iStream

Constructor & Destructor Documentation

CMceComAudioCodec()

CMceComAudioCodec ( ) [protected]

C++ default constructor.

~CMceComAudioCodec()

~CMceComAudioCodec ( )

Destructor.

Member Functions Documentation

CloneL()

CMceComAudioCodec * CloneL ( ) [virtual]

Clones

CompareSdpIndex(const CMceComAudioCodec &, const CMceComAudioCodec &)

TInt CompareSdpIndex ( const CMceComAudioCodec & aIndex1,
const CMceComAudioCodec & aIndex2
) [static]

Parameters

const CMceComAudioCodec & aIndex1
const CMceComAudioCodec & aIndex2

ConstructL(CMceComAudioCodec &)

void ConstructL ( CMceComAudioCodec & aCodec ) [protected]

second-phase copy constructor

Parameters

CMceComAudioCodec & aCodec

ConstructL(TBuf8< KMceMaxSdpNameLength >)

void ConstructL ( TBuf8 < KMceMaxSdpNameLength > aSdpName ) [protected]

second-phase copy constructor

Parameters

TBuf8 < KMceMaxSdpNameLength > aSdpName

ExternalizeFlatL(RWriteStream &)

void ExternalizeFlatL ( RWriteStream & aWriteStream )

Externalizes flat data

Parameters

RWriteStream & aWriteStream write stream

Factory()

TMceComAudioCodecFactory Factory ( ) [static]

Factory

InternalizeFlatL(RReadStream &)

void InternalizeFlatL ( RReadStream & aReadStream )

Internalizes flat data

Parameters

RReadStream & aReadStream read stream

NewL(TBuf8< KMceMaxSdpNameLength >)

CMceComAudioCodec * NewL ( TBuf8 < KMceMaxSdpNameLength > aSdpName ) [static]

Two-phased constructor.

Parameters

TBuf8 < KMceMaxSdpNameLength > aSdpName sdp name

NewLC(TBuf8< KMceMaxSdpNameLength >)

CMceComAudioCodec * NewLC ( TBuf8 < KMceMaxSdpNameLength > aSdpName ) [static]

Two-phased constructor.

Parameters

TBuf8 < KMceMaxSdpNameLength > aSdpName sdp name

SetMaxPTime(TUint)

TInt SetMaxPTime ( TUint aMaxPTime ) [virtual]

Sets the maximum packetization rate.

Parameters

TUint aMaxPTime

SetPTime(TUint)

TInt SetPTime ( TUint aPTime ) [virtual]

Sets the packetization rate.

Parameters

TUint aPTime

SetSamplingFreq(TUint)

TInt SetSamplingFreq ( TUint aSamplingFreq ) [virtual]

Sets the sampling frequency.

Parameters

TUint aSamplingFreq

UpdateL(CMceComCodec &)

void UpdateL ( CMceComCodec & aCodec ) [virtual]

Updates this object

Parameters

CMceComCodec & aCodec

Member Data Documentation

TBool iComfortNoiseEnabled

TBool iComfortNoiseEnabled

Comfort noise

TBool iEnableVAD

TBool iEnableVAD

Enables or disables VAD

TUint iMaxPTime

TUint iMaxPTime

Stream's max packet time

TUint iPTime

TUint iPTime

Stream's packet time

TUint iRedCount

TUint iRedCount

Redundancy level

TUint8 iRedPayloadType

TUint8 iRedPayloadType

Payload type of associated red codec

TUint iSamplingFreq

TUint iSamplingFreq

Sampling frequency used with codec