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 MediaStreamTrackAudioStatsProperties
| Name | Description |
|---|---|
| AverageLatency | Gets the average latency since the last reset, in milliseconds. |
| Latency | Gets the current latency, in milliseconds. |
| MaximumLatency | Gets the maximum latency since the last reset, in milliseconds. |
| MinimumLatency | Gets the minimum latency since the last reset, in milliseconds. |
AverageLatency
MediaStreamTrackStats.csGets the average latency since the last reset, in milliseconds.
public double AverageLatency { get; }Latency
MediaStreamTrackStats.csGets the current latency, in milliseconds.
public double Latency { get; }MaximumLatency
MediaStreamTrackStats.csGets the maximum latency since the last reset, in milliseconds.
public double MaximumLatency { get; }MinimumLatency
MediaStreamTrackStats.csGets the minimum latency since the last reset, in milliseconds.
public double MinimumLatency { get; }Methods
| Name | Description |
|---|---|
| ResetLatency() | Resets the average, minimum and maximum latencies (the latency of the sources is constant). |
ResetLatency()
MediaStreamTrackStats.csResets the average, minimum and maximum latencies (the latency of the sources is constant).
public void ResetLatency()