M3GPParseCallback Class Reference
A mixin class to be implemented by the client in order to use the asynchronous frame retrieval APIs provided by the C3GPParse class. The derived class methods are called by C3GPParse when the audio/video frames retrieval completes, successful or not.
Member Functions Documentation
AudioFramesAvailable(TInt, TUint, TUint, TUint)
void | AudioFramesAvailable | ( | TInt | aError, |
| TUint | aReturnedFrames, |
| TUint | aTimeStampInMs, |
| TUint | aTimeStampInTimescale |
| ) | [pure virtual] |
This is called upon the completion of an asynchronous request to retrieve audio frames by the API C3GPParse::ReadAudioFramesAsync.
C3GPParse::ReadAudioFramesAsync
Parameters
TInt aError | Returns KErrNone on success. Returns KErrAccessDenied if the 3GP Parser is in buffer mode. Otherwise, returns one of the system wide error codes. See synchronous version of C3GPParse::ReadAudioFrames. |
TUint aReturnedFrames | Number of the returned frames or 0 if not known. |
TUint aTimeStampInMs | Audio frame presentation time in milliseconds from the beginning of the audio sequence. |
TUint aTimeStampInTimescale | Audio frame presentation time in timescale from the beginning of the audio sequence. |
VideoFrameAvailable(TInt, TBool, TUint, TUint)
void | VideoFrameAvailable | ( | TInt | aError, |
| TBool | aKeyFrame, |
| TUint | aTimeStampInMs, |
| TUint | aTimeStampInTimescale |
| ) | [pure virtual] |
VideoFrameAvailable is called upon completion of an asynchronous request to retrieve video frames by the API C3GPParse::ReadVideoFrameAsync.
C3GPParse::ReadVideoFrameAsync
Parameters
TInt aError | Returns KErrNone on success. Returns KErrAccessDenied if the 3GP Parser is in buffer mode. Otherwise, returns one of the system wide error codes. See synchronous version of C3GPParse::ReadVideoFrame. |
TBool aKeyFrame | Returns ETrue if the current frame is a key frame (intra), otherwise the value is EFalse. |
TUint aTimeStampInMs | Video frame presentation time in milliseconds from the beginning of the video sequence. |
TUint aTimeStampInTimescale | Video frame presentation time in timescale from the beginning of the video sequence. |
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.