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)

voidOpenFileL(TFileNameaFileName,
TFourCCaAudioCodecType,
const TDesC8 &aVideoCodecType,
TCamCSinkFileFormataFileFormat = E3GPP
)[pure virtual]
Open a 3GP file for writing.
Since
2.1

Parameters

TFileName aFileNameFile name
TFourCC aAudioCodecTypeFour CC code of the used audio codec
const TDesC8 & aVideoCodecTypeFour CC code of the used video codec
TCamCSinkFileFormat aFileFormat = E3GPPUsed file format TCamCSinkFileFormat

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

voidOpenFileL(CMMFFile *aMMFFile,
TFourCCaAudioCodecType,
const TDesC8 &aVideoCodecType,
TCamCSinkFileFormataFileFormat = E3GPP
)[pure virtual]
Open a 3GP file for writing.
Since
3.2

Parameters

CMMFFile * aMMFFileCMMFFile from MMF
TFourCC aAudioCodecTypeFour CC code of the used audio codec
const TDesC8 & aVideoCodecTypeFour CC code of the used video codec
TCamCSinkFileFormat aFileFormat = E3GPPUsed file format TCamCSinkFileFormat

SetAverageAudioBitRate(TInt)

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

Parameters

TInt aBitRateAverage bitrate

SetAverageVideoBitRate(TInt)

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

Parameters

TInt aBitRateAverage bitrate

SetMaxVideoBitRate(TInt)

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

Parameters

TInt aBitRateMaximum bitrate

SetSizeLimit(TUint)

voidSetSizeLimit(TUintaSize)[pure virtual]
Set size limit of the 3GP file to be recorded in bytes.
Since
2.1

Parameters

TUint aSizeLimit

SetVideoFrameSize(TSize)

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

Parameters

TSize aSizeFrame size

SinkStopL()

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

WriteBufferL(CCMRMediaBuffer *)

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

Parameters

CCMRMediaBuffer * aBufferBuffer containing audio/video data

Member Enumerations Documentation

Enum TCamCSinkFileFormat

Enumerators

E3GPP
E3GPP2
EMPEG4