Intent to Prototype: Playout Statistics API for WebAudio

135 views
Skip to first unread message

Fredrik Hernqvist

unread,
Mar 11, 2024, 11:20:09 AMMar 11
to blin...@chromium.org

Contact emails

fhern...@google.comol...@google.comhong...@google.comagp...@google.comgui...@google.com

Explainer

https://github.com/WICG/web_audio_playout

Specification

https://wicg.github.io/web_audio_playout

Summary

The AudioContext.playoutStats API allows an application to measure the quality and latency of audio playout using WebAudio.



Blink component

Blink>WebAudio

Motivation

There is currently no way to detect whether WebAudio playout has glitches (gaps in the played audio, which typically happens due to underperformance in the audio pipeline). There is an existing way to measure the instantaneous playout latency using AudioContext.outputLatency, but no simple way to measure average/minimum/maximum latency over time. With this API, we want to propose a way to be able to measure the delay of that audio and the glitchiness of the audio.



Initial public proposal

https://github.com/WICG/proposals/issues/142

TAG review

None

TAG review status

Pending

Risks



Interoperability and Compatibility

None



Gecko: No signal

WebKit: No signal

Web developers: No signals

Other signals:

WebView application risks

Does this intent deprecate or change behavior of existing APIs, such that it has potentially high risk for Android WebView-based applications?

None



Debuggability

None



Is this feature fully tested by web-platform-tests?

No

Flag name on chrome://flags

None

Finch feature name

None

Non-finch justification

None

Requires code in //chrome?

False

Estimated milestones

No milestones specified



Link to entry on the Chrome Platform Status

https://chromestatus.com/feature/5172818344148992

This intent message was generated by Chrome Platform Status.
Reply all
Reply to author
Forward
0 new messages