Provides the Media Engine with a list of media resources.
When to implement
Implement this interface if you want the Media Engine to load media resources from an ordered list of URLs.
The IMFMediaEngineSrcElements interface inherits from the IUnknown interface. IMFMediaEngineSrcElements also has these types of members:
The IMFMediaEngineSrcElements interface has these methods.
Adds a source element to the end of the list.
Gets the number of source elements in the list.
Gets the intended media type of an element in the list.
Gets the MIME type of an element in the list.
Gets the URL of an element in the list.
Removes all of the source elements from the list.
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.
Minimum supported client
|Windows 8 [desktop apps | Windows Store apps]|
Minimum supported server
|Windows Server 2012 [desktop apps | Windows Store apps]|