IMFCaptureSource interface (mfcaptureengine.h)

Controls the capture source object. The capture source manages the audio and video capture devices.

Inheritance

The IMFCaptureSource interface inherits from the IUnknown interface. IMFCaptureSource also has these types of members:

Methods

The IMFCaptureSource interface has these methods.

 
IMFCaptureSource::AddEffect

Adds an effect to a capture stream.
IMFCaptureSource::GetAvailableDeviceMediaType

Gets a format that is supported by one of the capture streams.
IMFCaptureSource::GetCaptureDeviceActivate

Gets the current capture device's IMFActivate object pointer.
IMFCaptureSource::GetCaptureDeviceSource

Gets the current capture device's IMFMediaSource object pointer.
IMFCaptureSource::GetCurrentDeviceMediaType

Gets the current media type for a capture stream.
IMFCaptureSource::GetDeviceStreamCategory

Gets the stream category for the specified source stream index.
IMFCaptureSource::GetDeviceStreamCount

Gets the number of device streams.
IMFCaptureSource::GetMirrorState

Gets the current mirroring state of the video preview stream. (IMFCaptureSource.GetMirrorState)
IMFCaptureSource::GetService

Gets a pointer to the underlying Source Reader object.
IMFCaptureSource::GetStreamIndexFromFriendlyName

Gets the actual device stream index translated from a friendly stream name.
IMFCaptureSource::RemoveAllEffects

Removes all effects from a capture stream.
IMFCaptureSource::RemoveEffect

Removes an effect from a capture stream.
IMFCaptureSource::SetCurrentDeviceMediaType

Sets the output format for a capture stream.
IMFCaptureSource::SetMirrorState

Enables or disables mirroring of the video preview stream. (IMFCaptureSource.SetMirrorState)

Remarks

To get a pointer to the capture source, call IMFCaptureEngine::GetSource.

Requirements

Requirement Value
Minimum supported client Windows 8 [desktop apps only]
Minimum supported server Windows Server 2012 [desktop apps only]
Target Platform Windows
Header mfcaptureengine.h

See also

Media Foundation Interfaces