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.
| Method | Description |
|---|---|
| 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 |
|
See also