Export (0) Print
Expand All
This topic has not yet been rated - Rate this topic

IMFCapturePreviewSink interface

Controls the preview sink. The preview sink enables the application to preview audio and video from the camera.

Members

The IMFCapturePreviewSink interface inherits from IMFCaptureSink. IMFCapturePreviewSink also has these types of members:

Methods

The IMFCapturePreviewSink interface has these methods.

MethodDescription
GetMirrorState

Gets the current mirroring state of the video preview stream.

GetRotation

Gets the rotation of the video preview stream.

SetCustomSink

Sets a custom media sink for preview.

SetMirrorState

Enables or disables mirroring of the video preview stream.

SetRenderHandle

Specifies a window for preview.

SetRenderSurface

Specifies a DirectComposition visual for preview.

SetRotation

Rotates the video preview stream.

SetSampleCallback

Sets a callback to receive the preview data for one stream.

UpdateVideo

Updates the video frame.

 

Remarks

To start preview, call IMFCaptureEngine::StartPreview.

Requirements

Minimum supported client

Windows 8 [desktop apps only]

Minimum supported server

Windows Server 2012 [desktop apps only]

Header

Mfcaptureengine.h

 

 

Did you find this helpful?
(1500 characters remaining)
Thank you for your feedback

Community Additions

ADD
Show:
© 2014 Microsoft. All rights reserved.