CMceComVideoCodec Class Reference

class CMceComVideoCodec : public CMceComCodec

Container class for the codec information.

Since

Inherits from

Public Member Functions
~CMceComVideoCodec ()
CMceComVideoCodec * CloneL ()
TInt CompareSdpIndex (const CMceComVideoCodec &, const CMceComVideoCodec &)
void ExternalizeFlatL ( RWriteStream &)
TMceComVideoCodecFactory Factory ()
TUint GetMaxBitRate ()
void InternalizeFlatL ( RReadStream &)
TBool IsConfigKeyValid ()
TBool IsConfigKeyValid ( HBufC8 *)
CMceComVideoCodec * NewL ( TBuf8 < KMceMaxSdpNameLength >)
CMceComVideoCodec * NewLC ( TBuf8 < KMceMaxSdpNameLength >)
TBool SetConfigKeyL ( HBufC8 *)
TInt SetMaxBitrate ( TUint )
void UpdateL ( CMceComCodec &)
Protected Member Functions
CMceComVideoCodec ()
void ConstructL ( CMceComVideoCodec &)
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::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
TUint iAllowedFrameRates
TUint iAllowedResolutions
TUint iClockRate
HBufC8 * iConfigKey
TUid iEncodingDecodingDevice
TReal iFrameRate
TUint iMaxBitRate
TReal iReceiveFrameRate
TInt iResolutionHeight
TInt iResolutionWidth
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

CMceComVideoCodec()

CMceComVideoCodec ( ) [protected]

C++ default constructor.

~CMceComVideoCodec()

~CMceComVideoCodec ( )

Destructor.

Member Functions Documentation

CloneL()

CMceComVideoCodec * CloneL ( ) [virtual]

Clones

CompareSdpIndex(const CMceComVideoCodec &, const CMceComVideoCodec &)

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

Parameters

const CMceComVideoCodec & aIndex1
const CMceComVideoCodec & aIndex2

ConstructL(CMceComVideoCodec &)

void ConstructL ( CMceComVideoCodec & aCodec ) [protected]

second-phase copy constructor

Parameters

CMceComVideoCodec & 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()

TMceComVideoCodecFactory Factory ( ) [static]

Factory

GetMaxBitRate()

TUint GetMaxBitRate ( ) [virtual]

Returns max bit rate

InternalizeFlatL(RReadStream &)

void InternalizeFlatL ( RReadStream & aReadStream )

Internalizes flat data

Parameters

RReadStream & aReadStream read stream

IsConfigKeyValid()

TBool IsConfigKeyValid ( ) const

IsConfigKeyValid(HBufC8 *)

TBool IsConfigKeyValid ( HBufC8 * aConfigKey ) [static]

Parameters

HBufC8 * aConfigKey

NewL(TBuf8< KMceMaxSdpNameLength >)

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

Two-phased constructor.

Parameters

TBuf8 < KMceMaxSdpNameLength > aSdpName sdp name

NewLC(TBuf8< KMceMaxSdpNameLength >)

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

Two-phased constructor.

Parameters

TBuf8 < KMceMaxSdpNameLength > aSdpName sdp name

SetConfigKeyL(HBufC8 *)

TBool SetConfigKeyL ( HBufC8 * aConfigKey )

Set codec config key

Parameters

HBufC8 * aConfigKey can be also NULL, ownership is not transferred

SetMaxBitrate(TUint)

TInt SetMaxBitrate ( TUint aMaxBitrate ) [virtual]

Sets maximum bitrate of the codec.

Parameters

TUint aMaxBitrate value of maximum bitrate used for encoding

UpdateL(CMceComCodec &)

void UpdateL ( CMceComCodec & aCodec ) [virtual]

Updates this object

Parameters

CMceComCodec & aCodec

Member Data Documentation

TUint iAllowedFrameRates

TUint iAllowedFrameRates

TUint iAllowedResolutions

TUint iAllowedResolutions

TUint iClockRate

TUint iClockRate

HBufC8 * iConfigKey

HBufC8 * iConfigKey

TUid iEncodingDecodingDevice

TUid iEncodingDecodingDevice

TReal iFrameRate

TReal iFrameRate

TUint iMaxBitRate

TUint iMaxBitRate

TReal iReceiveFrameRate

TReal iReceiveFrameRate

TInt iResolutionHeight

TInt iResolutionHeight

TInt iResolutionWidth

TInt iResolutionWidth