CMccCodecInformation Class Reference
class CMccCodecInformation : public CBase |
Container class for the codec information.
mmccinterface.dll
Constructor & Destructor Documentation
CMccCodecInformation()
CMccCodecInformation | ( | ) | [protected] |
~CMccCodecInformation()
~CMccCodecInformation | ( | ) | [virtual] |
Member Functions Documentation
AllowedBitrates()
TUint
| AllowedBitrates | ( | ) | const [virtual] |
AverageBitrate()
TUint
| AverageBitrate | ( | ) | const [virtual] |
Bitrate()
TUint
| Bitrate | ( | ) | const [virtual] |
Gets bitrate value used currently.
CloneDefaultsL()
Constructs a clone from this codec object. Note that the clone falls back to given codec's default settings.
CloneDetailedL()
Constructs a clone from this codec object and copies the original object's current settings to the newly created clone.
ComfortNoiseGeneration()
TUint8
| ComfortNoiseGeneration | ( | ) | const [virtual] |
Get Comfort noise payload type value.
ConfigKeyL()
HBufC8 * | ConfigKeyL | ( | ) | const [virtual] |
Get encoder/decoder configuration key
CreateFmtpAttrListL()
void | CreateFmtpAttrListL | ( | ) | [virtual] |
Creates the fmtp string from internal values
CreateFmtpAttrListL(const RArray< TUint > &)
void | CreateFmtpAttrListL | ( | const RArray< TUint > & | aBitrates | ) | [virtual] |
Creates the fmtp string from internal values and the given bitrates
EnableVAD(TBool)
TInt
| EnableVAD | ( | TBool | aEnableVAD | ) | [pure virtual] |
Enable / Disable Voice Activity Detection.
Parameters
TBool aEnableVAD | Boolean indicating whether to enable Voice Activity Detection |
FrameHeight()
TUint
| FrameHeight | ( | ) | const [virtual] |
FrameSize()
TInt
| FrameSize | ( | ) | const [virtual] |
FrameTime()
TInt
| FrameTime | ( | ) | const [virtual] |
FrameWidth()
TUint
| FrameWidth | ( | ) | const [virtual] |
Framerate()
TReal
| Framerate | ( | ) | const [virtual] |
GetChannels(TInt &)
TInt
| GetChannels | ( | TInt & | aNumOfChannels | ) | const [virtual] |
GetCrc()
TBool
| GetCrc | ( | ) | const [private, virtual] |
Get boolean type CRC value.
GetFmtpL()
Gets the codec specific fmtp value for SDP.
GetInterleaving()
TInt
| GetInterleaving | ( | ) | const [private, virtual] |
GetRobustSorting()
TBool
| GetRobustSorting | ( | ) | const [private, virtual] |
Get boolean type robust sorting value
GetValues(TMccCodecInfo &)
JitterBufBufferLength()
TUint
| JitterBufBufferLength | ( | ) | const [virtual] |
Get JitterBuffer Buffer length
JitterBufInactivityTimeOut()
TUint
| JitterBufInactivityTimeOut | ( | ) | const [virtual] |
Get JitterBuffer inactivity timeout
JitterBufThreshold()
TUint
| JitterBufThreshold | ( | ) | const [virtual] |
Get JitterBuffer threshold
KeepAliveData()
const TDesC8 & | KeepAliveData | ( | ) | const [virtual] |
Get keep alive packets payload data.
KeepAlivePT()
TUint8
| KeepAlivePT | ( | ) | const [virtual] |
Get keep alive packets payload type.
KeepAliveTimer()
TUint8
| KeepAliveTimer | ( | ) | const [virtual] |
Get keep alive packets send timer value.
MaxBitrate()
TUint
| MaxBitrate | ( | ) | const [virtual] |
MaxPTime()
TInt
| MaxPTime | ( | ) | const [virtual] |
MaxRed()
TInt
| MaxRed | ( | ) | const [virtual] |
Returns the maximum redundancy
ModeChangeNeighbor()
TBool
| ModeChangeNeighbor | ( | ) | const [private, virtual] |
Get boolean variable, which indicates change between two modes.
ModeChangePeriod()
TInt
| ModeChangePeriod | ( | ) | const [private, virtual] |
Get specified number of frame blocks
PTime()
TInt
| PTime | ( | ) | const [virtual] |
ParseFmtpAttrL(const TDesC8 &)
Parses the fmtp attributes, and updates the internal values except the iFmtpAttr attribute
Parameters
const TDesC8 & aFmtp | Fmtp attribute |
PayloadType()
TUint8
| PayloadType | ( | ) | const [virtual] |
PreferredEncodingDecodingDevice()
TUid
| PreferredEncodingDecodingDevice | ( | ) | const [virtual] |
Get preferred encoding device for uplink stream and preferred decoding device for downlink stream.
Priority()
TInt
| Priority | ( | ) | const [virtual] |
PriorityPreference()
TInt
| PriorityPreference | ( | ) | const [virtual] |
Gets media priority preference
RedCount()
TUint
| RedCount | ( | ) | const [virtual] |
RedPayloadsL(RArray< TUint > &)
void | RedPayloadsL | ( | RArray< TUint > & | aRedPayloads | ) | const [virtual] |
Fills array with red payload types.
RedundancyPT()
TUint8
| RedundancyPT | ( | ) | const [virtual] |
Get Redundancy PayloadType.
RequireSignalling(const CMccCodecInformation &)
Checks the codec values if signalling is needed.
SamplingFreq()
TUint32
| SamplingFreq | ( | ) | const [virtual] |
Gets sampling frequency used currently.
SdpName()
const TDesC8 & | SdpName | ( | ) | const [virtual] |
SetAlgo(TAlgoUsed)
Parameters
TAlgoUsed aAlgo | codec specific algorithm to be used |
SetAllowedBitrates(TUint)
TInt
| SetAllowedBitrates | ( | TUint | aBitrateMask | ) | [virtual] |
Sets the allowed bitrates for the codec.
Parameters
TUint aBitrateMask | bitrate mask. |
SetAverageBitrate(TUint)
TInt
| SetAverageBitrate | ( | TUint | aAverageBitrate | ) | [virtual] |
Parameters
TUint aAverageBitrate | average bitrate |
SetBitrate(TUint)
Sets bitrate used with codec.
Parameters
TUint aBitrate | New bitrate value |
SetChannels(TInt)
TInt
| SetChannels | ( | TInt | aNumOfChannels | ) | [virtual] |
Set number of channels. Range between 1 to 8. Refer to RFC3551 4.1 for interpretation of channels value. Default value is 1.
SetComfortNoiseGeneration(TUint8)
TInt
| SetComfortNoiseGeneration | ( | TUint8 | aComfortNoisePT | ) | [virtual] |
Enable / Disable Comfort noise generation.
Parameters
TUint8 aComfortNoisePT | Payloadtype value indicating what payload type should be used for comfort noise. KPayloadTypeUndefined can be used to turn comfor noise generation off. |
SetConfigKeyL(const TDesC8 &)
void | SetConfigKeyL | ( | const TDesC8 & | aConfigKey | ) | [virtual] |
Set encoder/decoder configuration key
SetCrc(const TBool)
TInt
| SetCrc | ( | const TBool | aCrc | ) | [private, virtual] |
Set boolean type frame CRC value. With value 1 CRC shall be included in the payload, otherwise not. 1 also implies that octet-alignet operation shall be used for the session.
SetFmtpAttrL(const TDesC8 &, TBool)
void | SetFmtpAttrL | ( | const TDesC8 & | aFmtp, |
| TBool | parseFmtp = ETrue |
| ) | [virtual] |
Sets the fmtp attribute, i.e. iFmtpAttr == aFmtp
Parameters
const TDesC8 & aFmtp | Fmtp attribute |
TBool parseFmtp = ETrue | |
SetFrameHeight(TUint)
TInt
| SetFrameHeight | ( | TUint | aFrameHeight | ) | [virtual] |
Parameters
TUint aFrameHeight | height of the frame |
SetFrameWidth(TUint)
TInt
| SetFrameWidth | ( | TUint | aFrameWidth | ) | [virtual] |
Parameters
TUint aFrameWidth | width of the frame |
SetFramerate(TReal)
Parameters
TReal aFramerate | frame rate |
SetInterleaving(const TInt)
TInt
| SetInterleaving | ( | const TInt | aFrameBlockCount | ) | [private, virtual] |
Set interleaving as unsigned integer. Number range is 0-63. Indicates that frame-block level interleaving SHALL be used for the session and it's value defines the max number of frame-blocks allowed in interleaving group. Implies automatically that octet-aligned operation SHALL be used.
Parameters
const TInt aFrameBlockCount | |
SetJitterBufBufferLength(TUint)
TInt
| SetJitterBufBufferLength | ( | TUint | aJitterBufBufferLength | ) | [virtual] |
Set JitterBuffer Buffer length
Parameters
TUint aJitterBufBufferLength | length for buffer |
SetJitterBufInactivityTimeOut(TUint)
TInt
| SetJitterBufInactivityTimeOut | ( | TUint | aJitterBufInactivityTimeOut | ) | [virtual] |
Set JitterBuffer inactivity timeout in millisecounds
Parameters
TUint aJitterBufInactivityTimeOut | timeout value for RTP inactivity |
SetJitterBufThreshold(TUint)
TInt
| SetJitterBufThreshold | ( | TUint | aJitterBufThreshold | ) | [virtual] |
Set JitterBuffer threshold
Parameters
TUint aJitterBufThreshold | threshold value for buffer before playout starts |
SetKeepAliveData(const TDesC8 &)
TInt
| SetKeepAliveData | ( | const TDesC8 & | aData | ) | [virtual] |
Set keep alive packets payload data.
Parameters
const TDesC8 & aData | payload data for keep alive packets |
SetKeepAlivePT(TUint8)
Set keep alive packets payload type.
Parameters
TUint8 aKeepAlivePT | payload type for keep alive packets |
SetKeepAliveTimer(TUint8)
TInt
| SetKeepAliveTimer | ( | TUint8 | aTimerValue | ) | [virtual] |
Set keep alive packets send timer value.
Parameters
TUint8 aTimerValue | timer value in seconds for keep alive packets |
SetMaxBitrate(TUint)
TInt
| SetMaxBitrate | ( | TUint | aMaxBitrate | ) | [virtual] |
Parameters
TUint aMaxBitrate | Maximum bitrate |
SetMaxPTime(TUint)
TInt
| SetMaxPTime | ( | TUint | aMaxPTime | ) | [pure virtual] |
Parameters
TUint aMaxPTime | Maximum PacketTime |
SetMaxRed(TInt)
Sets the upper limit on the usage of redundancy in milliseconds.
Parameters
TInt aMaxRed | maximum redundancy |
SetModeChangeNeighbor(const TBool)
TInt
| SetModeChangeNeighbor | ( | const TBool | aNeighbor | ) | [private, virtual] |
Set boolean variable, which indicates change between two modes. With default value 1 changes are only allowed to the neighboring mode.
SetModeChangePeriod(const TInt)
TInt
| SetModeChangePeriod | ( | const TInt | aPeriod | ) | [private, virtual] |
Specifies the number of frame blocks, that is the interval at which codec mode changes are allowed
SetPayloadType(TUint8)
TInt
| SetPayloadType | ( | TUint8 | aPayloadType | ) | [pure virtual] |
Parameters
TUint8 aPayloadType | type identifier to be used for payload. |
SetPreferredEncodingDecodingDevice(TUid)
void | SetPreferredEncodingDecodingDevice | ( | TUid | aEncodingDecodingDevice | ) | [virtual] |
Sets preferred encoding device for uplink stream and preferred decoding device for downlink stream.
Parameters
TUid aEncodingDecodingDevice | |
SetPriority(TInt)
void | SetPriority | ( | TInt | aPriority | ) | [virtual] |
Set priority for media resource.
Parameters
TInt aPriority | priority for media resource |
SetPriorityPreference(TInt)
void | SetPriorityPreference | ( | TInt | aPreference | ) | [virtual] |
Set priority preference for media resource.
Parameters
TInt aPreference | priority preference for media resource |
SetRedCount(TUint)
Parameters
TUint aRedCount | count for redundancy |
SetRedundancyPT(TUint8)
Set redundancy payload type.
Parameters
TUint8 aRedPT | payload type for redundancy |
SetRobustSorting(const TBool)
TInt
| SetRobustSorting | ( | const TBool | aRobust | ) | [private, virtual] |
Set robust sorting on/off with boolean value. With value 1 the payload SHALL employ robust sorting. Implies automatically that octet-aligned operation SHALL be used for the session.
SetSamplingFreq(TUint32)
TInt
| SetSamplingFreq | ( | TUint32 | aSamplingFreq | ) | [pure virtual] |
Sets the sampling frequency.
Parameters
TUint32 aSamplingFreq | Sampling frequency to be used |
SetSdpName(const TDesC8 &)
TInt
| SetSdpName | ( | const TDesC8 & | aSdpName | ) | [pure virtual] |
Sets the sdp name of the codec.
Parameters
const TDesC8 & aSdpName | sdp name of the codec. |
Type()
TUid
| Type | ( | ) | const [virtual] |
Type of the codec, like KUidMediaTypeAudio or KUidMediaTypeVideo.
VAD()
TBool
| VAD | ( | ) | const [virtual] |
Member Data Documentation
TUint
iAverageBitrate
TUint
| iAverageBitrate | [protected] |
Average bitrate used in codec
TUint
iBitrate
TUint
| iBitrate | [protected] |
TUint
iBitrateMask
TUint
| iBitrateMask | [protected] |
Bitrate mask, allowed modes
TCodecMode
iCodecMode
Codec mode ( e.g. PCMU, PCMA, Bandwidth efficient, octet aligned )
TUint8
iComfortNoiseGenerationPt
TUint8
| iComfortNoiseGenerationPt | [protected] |
Payload type for comfort noise generation
HBufC8 * iConfigKey
Encoder/decoder configuration key
TBool
iEnableVAD
TBool
| iEnableVAD | [protected] |
Enables or disables VAD (Voice Activity Detection)
TUid
iEncodingDecodingDevice
TUid
| iEncodingDecodingDevice | [protected] |
TInt
iFrameBlockCount
TInt
| iFrameBlockCount | [protected] |
TInt
iFrameSize
TInt
| iFrameSize | [protected] |
TReal
iFramerate
TReal
| iFramerate | [protected] |
TInt
iHwFrameTime
TInt
| iHwFrameTime | [protected] |
TUint
iJitterBufBufferLength
TUint
| iJitterBufBufferLength | [protected] |
JitterBuffer threshold
How many packets the jitter buffer can hold
TUint
iJitterBufInactivityTimeOut
TUint
| iJitterBufInactivityTimeOut | [protected] |
JitterBuffer InactivityTimeOut
Used for talkburst In millisecound when the sequence number should be zerod after a talkburst ( iJitterBufInactivityTimeOut / iHwFrameTime ) == InactivityEvent
TUint
iJitterBufThreshold
TUint
| iJitterBufThreshold | [protected] |
JitterBuffer threshold
How many packets should be in the buffer before they are played
TBuf8< KMaxKeepAliveDataLen > iKeepAliveData
TBuf8< KMaxKeepAliveDataLen > | iKeepAliveData | [protected] |
TUint8
iKeepAlivePT
TUint8
| iKeepAlivePT | [protected] |
Payload type value for keep alive data
TUint8
iKeepAliveTimer
TUint8
| iKeepAliveTimer | [protected] |
Timer value for keep alive data
TUint
iMaxBitrate
TUint
| iMaxBitrate | [protected] |
Max bitrate used in codec
TUint
iMaxPTime
TUint
| iMaxPTime | [protected] |
TInt
iMaxRed
Maximum redundancy in milliseconds
TInt
iModeChangePeriod
TInt
| iModeChangePeriod | [protected] |
TBool
iNeighbor
TBool
| iNeighbor | [protected] |
TInt
iNumOfChannels
TInt
| iNumOfChannels | [protected] |
TUint
iParsedFmtp
TUint
| iParsedFmtp | [protected] |
TUint32
iPayloadFormatDecoder
TUint32
| iPayloadFormatDecoder | [protected] |
TUint32
iPayloadFormatEncoder
TUint32
| iPayloadFormatEncoder | [protected] |
TUint8
iPayloadType
TUint8
| iPayloadType | [protected] |
TInt
iPriority
TInt
| iPriority | [protected] |
TInt
iPriorityPreference
TInt
| iPriorityPreference | [protected] |
TUint
iRedCount
TUint
| iRedCount | [protected] |
TUint8
iRedundancyPT
TUint8
| iRedundancyPT | [protected] |
TUint32
iSamplingFreq
Sampling frequency used with codec
TBuf8< KMaxSdpNameLength > iSdpName
Sdp name used in SDP messages
TUint
iStartMediaPort
TUint
| iStartMediaPort | [protected] |
TUid
iType
Type of codec, like KUidMediaTypeAudio or KUidMediaTypeVideo
TUint
iVideoHeight
TUint
| iVideoHeight | [protected] |
Vertical resolution of video
TUint
iVideoWidth
TUint
| iVideoWidth | [protected] |
Horizontal resolution of video
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.