MVideoRendererObserver Class Reference

class MVideoRendererObserver

The interface implemented by clients using CVideoRenderer

An object of a class which implements this interface should be passed to CVideoRenderer::NewL().

CVideoRenderer

Public Member Functions
voidMvroBufferDisplayed(TInt, const TTime &)
voidMvroBufferSkipped(TInt)
voidMvroVideoBufferAvailable()

Member Functions Documentation

MvroBufferDisplayed(TInt, const TTime &)

voidMvroBufferDisplayed(TIntaBufferId,
const TTime &aTime
)[pure virtual]

Called when a buffer has been displayed. The client can use these callbacks to maintain rendering delay statistics.

Parameters

TInt aBufferIdIdentifies the buffer, equal to TVideoFrameBuffer.iBufferId
const TTime & aTimeThe system clock time when the buffer was displayed

MvroBufferSkipped(TInt)

voidMvroBufferSkipped(TIntaBufferId)[pure virtual]

Called when a buffer was skipped in the rendering process. Buffers can be skipped if rendering gets delayed too far and a more recent buffer is already available for rendering. The client can use these callbacks to maintain video rendering statistics.

Parameters

TInt aBufferIdIdentifies the buffer, equal to TVideoFrameBuffer.iBufferId

MvroVideoBufferAvailable()

voidMvroVideoBufferAvailable()[pure virtual]

Called when the renderer has a new video buffer available. The renderer will call this once for each surface buffer when a surface is created, and subsequently for each buffer that becomes available after it has been updated to the display or released.