CCamC3GPDataSink Class Reference

class CCamC3GPDataSink : public CBase

CCamC3GPDataSink class This is the abstract 3GP data sink class that is used by CCamC3GPDataSinkImp class.

camc3gpsink
Since
2.1

Inherits from

Constructor & Destructor Documentation

CCamC3GPDataSink()

CCamC3GPDataSink ( ) [inline]

Default constructor.

Member Functions Documentation

GetElapsedTime()

TTimeIntervalMicroSeconds GetElapsedTime ( ) [pure virtual]
Return the amount of time recording has been on in microseconds.
Since
2.1

GetRemainingTimeL()

TTimeIntervalMicroSeconds GetRemainingTimeL ( ) [pure virtual]
Return the estimated remaining time for the recording in microseconds.
Since
2.1

NewL(M3GPDataSinkObserver *)

IMPORT_C CCamC3GPDataSink * NewL ( M3GPDataSinkObserver * aObserver ) [static]

Constructor.

Parameters

M3GPDataSinkObserver * aObserver

OpenFileL(TFileName, TFourCC, const TDesC8 &, TCamCSinkFileFormat)

void OpenFileL ( TFileName aFileName,
TFourCC aAudioCodecType,
const TDesC8 & aVideoCodecType,
TCamCSinkFileFormat aFileFormat = E3GPP
) [pure virtual]
Open a 3GP file for writing.
Since
2.1

Parameters

TFileName aFileName File name
TFourCC aAudioCodecType Four CC code of the used audio codec
const TDesC8 & aVideoCodecType Four CC code of the used video codec
TCamCSinkFileFormat aFileFormat = E3GPP Used file format TCamCSinkFileFormat

OpenFileL(CMMFFile *, TFourCC, const TDesC8 &, TCamCSinkFileFormat)

void OpenFileL ( CMMFFile * aMMFFile,
TFourCC aAudioCodecType,
const TDesC8 & aVideoCodecType,
TCamCSinkFileFormat aFileFormat = E3GPP
) [pure virtual]
Open a 3GP file for writing.
Since
3.2

Parameters

CMMFFile * aMMFFile CMMFFile from MMF
TFourCC aAudioCodecType Four CC code of the used audio codec
const TDesC8 & aVideoCodecType Four CC code of the used video codec
TCamCSinkFileFormat aFileFormat = E3GPP Used file format TCamCSinkFileFormat

SetAverageAudioBitRate(TInt)

TInt SetAverageAudioBitRate ( TInt aBitRate ) [pure virtual]
Give average audio bitrate to sink.
Since
2.1

Parameters

TInt aBitRate Average bitrate

SetAverageVideoBitRate(TInt)

TInt SetAverageVideoBitRate ( TInt aBitRate ) [pure virtual]
Give average video bitrate to sink.
Since
2.1

Parameters

TInt aBitRate Average bitrate

SetMaxVideoBitRate(TInt)

TInt SetMaxVideoBitRate ( TInt aBitRate ) [pure virtual]
Give maximum video bitrate to sink.
Since
2.1

Parameters

TInt aBitRate Maximum bitrate

SetSizeLimit(TUint)

void SetSizeLimit ( TUint aSize ) [pure virtual]
Set size limit of the 3GP file to be recorded in bytes.
Since
2.1

Parameters

TUint aSize Limit

SetVideoFrameSize(TSize)

TInt SetVideoFrameSize ( TSize aSize ) [pure virtual]
Give video frame size to sink.
Since
2.1

Parameters

TSize aSize Frame size

SinkStopL()

void SinkStopL ( ) [pure virtual]
Order the sink to finalize and close the current 3GP file.
Since
2.1

WriteBufferL(CCMRMediaBuffer *)

void WriteBufferL ( CCMRMediaBuffer * aBuffer ) [pure virtual]
Write an audio/video buffer to the sink.
Since
2.1

Parameters

CCMRMediaBuffer * aBuffer Buffer containing audio/video data

Member Enumerations Documentation

Enum TCamCSinkFileFormat

Enumerators

E3GPP
E3GPP2
EMPEG4