Symbian
Symbian Developer Library

SYMBIAN OS V9.4

Feedback

[Index] [Previous] [Next]

#include <devvideorecord.h>
This item is not part of the S60 5th Edition SDK

Class MMMFDevVideoRecordObserver

class MMMFDevVideoRecordObserver;

Description

The MMMFDevVideoObserver class defines the observer mixin-interface that any client using CMMFDevVideoRecord must implement.

Members

Defined in MMMFDevVideoRecordObserver:


Member functions


MdvroReturnPicture(TVideoPicture *)

virtual void MdvroReturnPicture(TVideoPicture *aPicture)=0;

Description

Returns a used input video picture back to the caller. The picture memory can be re-used or freed.

Parameters

TVideoPicture *aPicture

"The picture to return."


MdvroSupplementalInfoSent()

virtual void MdvroSupplementalInfoSent()=0;

Description

Signals that the supplemental info send request has completed. The buffer used for supplemental information can be re-used or freed.


MdvroNewBuffers()

virtual void MdvroNewBuffers()=0;

Description

Notifies the client that one or more new output buffers are available. The client can then use NextBufferL() and related methods to fetch the data.


MdvroFatalError(TInt)

virtual void MdvroFatalError(TInt aError)=0;

Description

Reports a fatal encoding or capturing error to the client. When these errors occur, capturing and encoding is stopped automatically. The client must destroy the CMMFDevVideoRecord object and create a new instance before attempting to continue. Note that scenarios have been identified where MdvroFatalError may get referenced at some point during the execution of a CMMFDevVideoRecord procedure. Therefore CMMFDevVideoRecord object should be deleted outside of MdvroFatalError context in order to avoid accidental access to de-allocated CMMFDevVideoRecord data members.

Parameters

TInt aError

"The error code."


MdvroInitializeComplete(TInt)

virtual void MdvroInitializeComplete(TInt aError)=0;

Description

Reports that DevVideoRecord initialization has completed. The interface can now be used for video recording.

Parameters

TInt aError

"Initialization error code, KErrNone if no error occurred."


MdvroStreamEnd()

virtual void MdvroStreamEnd()=0;

Description

Reports that the input video data end has been reached and all pictures have been processed. This method is only called after the client has called InputEnd(). No more output data will be available.