IMediaSource IMediaSource IMediaSource IMediaSource Interface

Definition

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

public : interface IMediaSourcepublic interface IMediaSourcePublic Interface IMediaSource// You can use this interface in JavaScript.
Attributes
Windows 10 requirements
Device family
Windows 10 (introduced v10.0.10240.0)
API contract
Windows.Foundation.UniversalApiContract (introduced v1)

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.