// Copyright 2024 The Chromium Authors
// Use of this source code is governed by a BSD-style license that can be
// found in the LICENSE file.
[
Exposed=Window
] interface MediaStreamTrackAudioStats {
[CallWith=ScriptState] readonly attribute unsigned long long deliveredFrames;
[CallWith=ScriptState] readonly attribute DOMHighResTimeStamp deliveredFramesDuration;
[CallWith=ScriptState] readonly attribute unsigned long long totalFrames;
[CallWith=ScriptState] readonly attribute DOMHighResTimeStamp totalFramesDuration;
[CallWith=ScriptState] readonly attribute DOMHighResTimeStamp latency;
[CallWith=ScriptState] readonly attribute DOMHighResTimeStamp averageLatency;
[CallWith=ScriptState] readonly attribute DOMHighResTimeStamp minimumLatency;
[CallWith=ScriptState] readonly attribute DOMHighResTimeStamp maximumLatency;
[CallWith=ScriptState] void resetLatency();
[CallWith=ScriptState] object toJSON();
};