MediaStreamSourceSampleRenderedEventArgs MediaStreamSourceSampleRenderedEventArgs MediaStreamSourceSampleRenderedEventArgs MediaStreamSourceSampleRenderedEventArgs MediaStreamSourceSampleRenderedEventArgs Class

Definition

Provides data for the MediaStreamSource.SampleRendered event, which occurs when a sample from a MediaStreamSource is rendered. Use SampleLag property to determine if there is a lag in the rendering of a sample, in which case you may decide to switch to a lower-bandwidth stream.

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

Windows 10 requirements

Device family
Windows 10 Anniversary Edition (introduced v10.0.14393.0)
API contract
Windows.Foundation.UniversalApiContract (introduced v3)

Remarks

Get an instance of this class by handling the MediaStreamSource.SampleRendered event.

Properties

SampleLag SampleLag SampleLag SampleLag SampleLag

Gets a time span representing the lag with which a sample was rendered.