IMFMediaSource interface
Implemented by media source objects.
Media sources are objects that generate media data. For example, the data might come from a video file, a network stream, or a hardware device, such as a camera. Each media source contains one or more streams, and each stream delivers data of one type, such as audio or video.
Members
The IMFMediaSource interface inherits from IMFMediaEventGenerator. IMFMediaSource also has these types of members:
Methods
The IMFMediaSource interface has these methods.
| Method | Description |
|---|---|
| CreatePresentationDescriptor |
Retrieves a copy of the media source's presentation descriptor. |
| GetCharacteristics |
Retrieves the characteristics of the media source. |
| Pause |
Pauses all active streams in the media source. |
| RemoteCreatePresentationDescriptor |
Remotable version of CreatePresentationDescriptor. (Not used by applications.) |
| Shutdown |
Shuts down the media source and releases the resources it is using. |
| Start |
Starts, seeks, or restarts the media source by specifying where to start playback. |
| Stop |
Stops all active streams in the media source. |
Remarks
In Windows 8, this interface is extended with IMFMediaSourceEx.
Requirements
|
Minimum supported client |
Windows Vista [desktop apps | Windows Store apps] |
|---|---|
|
Minimum supported server |
Windows Server 2008 [desktop apps | Windows Store apps] |
|
Header |
|
|
Library |
|
See also