Represents a media source that delivers media samples to a media pipeline.
public : interface IMediaSource
public interface IMediaSource
Public Interface IMediaSource
Windows 10 requirements
Windows 10 (introduced v10.0.10240.0)
Windows.Foundation.UniversalApiContract (introduced v1)
The IMediaSource interface is implemented by the MediaStreamSource runtime class and can also be implemented by other runtime classes.
Runtime classes that implement this interface must also implement the IMFGetService interface and must support returning an IMFMediaSource or an IMFMediaSourceExtension interface when IMFGetService.GetService method is invoked for the MF_MEDIASOURCE_SERVICE service.