MediaStreamTrackAudioStats Class

The statistics of the latency of an audio track (https://w3c.github.io/mediacapture-extensions/#the-mediastreamtrackaudiostats-interface): the latency of its source (its latency setting).

public sealed class MediaStreamTrackAudioStats

Properties

NameDescription
AverageLatencyGets the average latency since the last reset, in milliseconds.
LatencyGets the current latency, in milliseconds.
MaximumLatencyGets the maximum latency since the last reset, in milliseconds.
MinimumLatencyGets the minimum latency since the last reset, in milliseconds.

Gets the average latency since the last reset, in milliseconds.

public double AverageLatency { get; }

Gets the current latency, in milliseconds.

public double Latency { get; }

Gets the maximum latency since the last reset, in milliseconds.

public double MaximumLatency { get; }

Gets the minimum latency since the last reset, in milliseconds.

public double MinimumLatency { get; }

Methods

NameDescription
ResetLatency()Resets the average, minimum and maximum latencies (the latency of the sources is constant).

Resets the average, minimum and maximum latencies (the latency of the sources is constant).

public void ResetLatency()