IMediaSource IMediaSource IMediaSource IMediaSource Interface

Represents a media source that delivers media samples to a media pipeline.

Syntax

Declaration

public interface IMediaSourcepublic interface IMediaSourcePublic Interface IMediaSourcepublic interface IMediaSource

Remarks

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.

Device family

Windows 10 (introduced v10.0.10240.0)

API contract

Windows.Foundation.UniversalApiContract (introduced v1)

Attributes

Windows.Foundation.Metadata.ContractVersionAttribute
Windows.Foundation.Metadata.GuidAttribute

Details

Assembly

Windows.Media.Core.dll