IMFHttpDownloadSession interface (mfidl.h)
Applications implement this interface to override the default implementation of the HTTP and HTTPS protocols used by Microsoft Media Foundation. Applications provide the IMFHttpDownloadSession interface to Media Foundation through the CreateHttpDownloadSession method on the IMFHttpDownloadSessionProvider interface. Microsoft Media Foundation uses this interface to perform a “streaming”, or “progressive”, download of a resource identified by a HTTP or HTTPS URL. Multiple HTTP requests may be sent to download the resource. The IMFHttpDownloadSession interface is used to create these individual HTTP requests.
Inheritance
The IMFHttpDownloadSession interface inherits from the IUnknown interface. IMFHttpDownloadSession also has these types of members:
Methods
The IMFHttpDownloadSession interface has these methods.
IMFHttpDownloadSession::Close Invoked by Microsoft Media Foundation to specify that no more HTTP requests will be created, and allows IMFHttpDownloadSession to free any internal resources. |
IMFHttpDownloadSession::CreateRequest Invoked by Microsoft Media Foundation to create an object that implements the IMFHttpDownloadRequest interface, which is used to send a single HTTP, or HTTPS request. |
IMFHttpDownloadSession::SetServer Called by Microsoft Media Foundation to specify parameters common to all requests created by this instance of IMFHttpDownloadSession. |
Requirements
Requirement | Value |
---|---|
Minimum supported client | Windows 10, version 1703 [desktop apps only] |
Minimum supported server | None supported |
Target Platform | Windows |
Header | mfidl.h |