MediaStreamSourceSampleRequest MediaStreamSourceSampleRequest MediaStreamSourceSampleRequest MediaStreamSourceSampleRequest MediaStreamSourceSampleRequest Class

Definition

Represents an object to be used by the MediaStreamSource.SampleRequest event to provide information to the application.

public : sealed class MediaStreamSourceSampleRequest
struct winrt::Windows::Media::Core::MediaStreamSourceSampleRequest
public sealed class MediaStreamSourceSampleRequest
Public NotInheritable Class MediaStreamSourceSampleRequest
// This class does not provide a public constructor.
Attributes

Windows 10 requirements

Device family
Windows 10 (introduced v10.0.10240.0)
API contract
Windows.Foundation.UniversalApiContract (introduced v1)

Remarks

See the MediaStreamSource Sample for an example of using Media Stream Source in a UWP app.

Properties

Sample Sample Sample Sample Sample

Sets the MediaStreamSample requested by the MediaStreamSource. Applications deliver a MediaStreamSample to the MediaStreamSource by assigning a value to this property.

StreamDescriptor StreamDescriptor StreamDescriptor StreamDescriptor StreamDescriptor

Gets the IMediaStreamDescriptor interface of the stream for which a MediaStreamSample is being requested.

Methods

GetDeferral() GetDeferral() GetDeferral() GetDeferral() GetDeferral()

Defers assigning a MediaStreamSample to MediaStreamSourceSampleRequest object.

ReportSampleProgress(UInt32) ReportSampleProgress(UInt32) ReportSampleProgress(UInt32) ReportSampleProgress(UInt32) ReportSampleProgress(UInt32)

Provides a status update to the MediaStreamSource while the application is temporarily unable to deliver a requested MediaStreamSample.

See also