Udostępnij za pośrednictwem


MediaStreamSourceSampleRenderedEventArgs.SampleLag Property

Definition

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

public:
 property TimeSpan SampleLag { TimeSpan get(); };
TimeSpan SampleLag();
public System.TimeSpan SampleLag { get; }
var timeSpan = mediaStreamSourceSampleRenderedEventArgs.sampleLag;
Public ReadOnly Property SampleLag As TimeSpan

Property Value

The lag with which a sample was rendered.

Remarks

If the value of this property is greater than 0, then the sample was rendered late. In this case, depending on the size of the lag, you may choose to switch to a lower bandwidth stream in order to reduce lag.

Applies to