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 ref class MediaStreamSourceSampleRenderedEventArgs sealed
/// [Windows.Foundation.Metadata.ContractVersion(Windows.Foundation.UniversalApiContract, 196608)]
/// [Windows.Foundation.Metadata.MarshalingBehavior(Windows.Foundation.Metadata.MarshalingType.Agile)]
/// [Windows.Foundation.Metadata.Threading(Windows.Foundation.Metadata.ThreadingModel.Both)]
class MediaStreamSourceSampleRenderedEventArgs final
[Windows.Foundation.Metadata.ContractVersion(typeof(Windows.Foundation.UniversalApiContract), 196608)]
[Windows.Foundation.Metadata.MarshalingBehavior(Windows.Foundation.Metadata.MarshalingType.Agile)]
[Windows.Foundation.Metadata.Threading(Windows.Foundation.Metadata.ThreadingModel.Both)]
public sealed class MediaStreamSourceSampleRenderedEventArgs
Public NotInheritable Class MediaStreamSourceSampleRenderedEventArgs
Inheritance
Object Platform::Object IInspectable MediaStreamSourceSampleRenderedEventArgs
Attributes

Windows requirements

Device family
Windows 10 Anniversary Edition (introduced in 10.0.14393.0)
API contract
Windows.Foundation.UniversalApiContract (introduced in v3.0)

Remarks

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

Properties

SampleLag

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

Applies to