IMFMediaEngineSrcElements interface (mfmediaengine.h)
Provides the Media Engine with a list of media resources.
Inheritance
The IMFMediaEngineSrcElements interface inherits from the IUnknown interface. IMFMediaEngineSrcElements also has these types of members:
Methods
The IMFMediaEngineSrcElements interface has these methods.
IMFMediaEngineSrcElements::AddElement Adds a source element to the end of the list. |
IMFMediaEngineSrcElements::GetLength Gets the number of source elements in the list. |
IMFMediaEngineSrcElements::GetMedia Gets the intended media type of an element in the list. |
IMFMediaEngineSrcElements::GetType Gets the MIME type of an element in the list. |
IMFMediaEngineSrcElements::GetURL Gets the URL of an element in the list. |
IMFMediaEngineSrcElements::RemoveAllElements Removes all of the source elements from the list. |
Remarks
The IMFMediaEngineSrcElements interface represents an ordered list of media resources.
This interface enables the application to provide the same audio/video content in several different encoding formats, such as H.264 and Windows Media Video. If a particular codec is not present on the user's computer, the Media Engine will try the next URL in the list. To use this interface, do the following:
- Create an implementation of this interface.
- Initialize your implementation with a list of URLs. Optionally, provide MIME types and media query strings for each URL.
- Call the IMFMediaEngine::SetSourceElements method.
Requirements
Requirement | Value |
---|---|
Minimum supported client | Windows 8 [desktop apps | UWP apps] |
Minimum supported server | Windows Server 2012 [desktop apps | UWP apps] |
Target Platform | Windows |
Header | mfmediaengine.h |