CCamC3GPDataSink Class Reference
class CCamC3GPDataSink : public CBase
|
Constructor & Destructor Documentation
CCamC3GPDataSink()
CCamC3GPDataSink
|
(
|
)
|
[inline]
|
Member Functions Documentation
GetElapsedTime()
Return the amount of time recording has been on in microseconds.
-
Since
-
2.1
GetRemainingTimeL()
Return the estimated remaining time for the recording in microseconds.
-
Since
-
2.1
NewL(M3GPDataSinkObserver *)
OpenFileL(TFileName, TFourCC, const TDesC8 &, TCamCSinkFileFormat)
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)
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
SetVideoFrameSize(TSize)
TInt
|
SetVideoFrameSize
|
(
|
TSize
|
aSize
|
)
|
[pure virtual]
|
Give video frame size to sink.
-
Since
-
2.1
SinkStopL()
void
|
SinkStopL
|
(
|
)
|
[pure virtual]
|
Order the sink to finalize and close the current 3GP file.
-
Since
-
2.1
WriteBufferL(CCMRMediaBuffer *)
Write an audio/video buffer to the sink.
-
Since
-
2.1
Member Enumerations Documentation
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.