Udostępnij za pośrednictwem


IMediaSource Interface

Definition

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

public interface class IMediaSource
/// [Windows.Foundation.Metadata.ContractVersion(Windows.Foundation.UniversalApiContract, 65536)]
/// [Windows.Foundation.Metadata.Guid(3888100761, 41117, 19489, 188, 223, 32, 175, 79, 134, 179, 217)]
struct IMediaSource
[Windows.Foundation.Metadata.ContractVersion(typeof(Windows.Foundation.UniversalApiContract), 65536)]
[Windows.Foundation.Metadata.Guid(3888100761, 41117, 19489, 188, 223, 32, 175, 79, 134, 179, 217)]
public interface IMediaSource
Public Interface IMediaSource
Derived
Attributes

Windows requirements

Device family
Windows 10 (introduced in 10.0.10240.0)
API contract
Windows.Foundation.UniversalApiContract (introduced in v1.0)

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.

Applies to