The AudioContext.playoutStats API allows an application to measure the quality and latency of audio playout using WebAudio.
None
Does this intent deprecate or change behavior of existing APIs, such that it has potentially high risk for Android WebView-based applications?
None
Since the last extension, the Privacy WG have reviewed the API, and noted some security concerns[1]. We have discussed them and agreed on a set of mitigations, given which the Privacy WG have indicated that they will approve the API[2]. If you don't have access to the slack thread, you can read the relevant messages here (shared with Blink API-owners)[3] We have updated the spec with a formal algorithm which includes the mitigations as well as a Privacy & Security considerations section discussing the concerns. [4] We are requesting this Origin Trial extension to give us time to get the Privacy WG's final approval on the new version of the spec, and present it to the Audio WG (who are positive towards the API when it was presented at TPAC but want approval from the Privacy WG before adopting it). [1] https://github.com/WICG/web_audio_playout/issues/4 [2] https://w3ccommunity.slack.com/archives/C06BB1JR528/p1747683821732619?thread_ts=1744909746.069129&cid=C06BB1JR528 [3] https://docs.google.com/document/d/1Mg-O-YX4xiFJ2qtvjRDL_F5SbKf74TJFYYQnTCE5QrU/edit?tab=t.0 [4] https://wicg.github.io/web_audio_playout/
We need additional time to work with Privacy WG to address their concerns. Since the origin trial started, we have made the following progress: * The API was presented at TPAC, and got a positive reaction from Audio WG. However, they wanted to hear the Privacy WG's input, and that we should ask the internal privacy/security reviewers why the API is ok while the similar RenderCapacity API was not ok. ( https://docs.google.com/document/d/1QiBmVZb51ATyai_TTbkMnq25zaQOzVNxNIsPJZ8sdUE/edit?tab=t.0#heading=h.el9c5z4prh05 ) * We have presented the API to the Privacy WG and they have discussed it (https://github.com/w3c/privacywg/blob/main/minutes/privacywg-20250417.md#webaudio) . We are now having an active discussion with them about how we can address their concerns. * Google-internal privacy/security reviewers have reaffirmed that the API is ok, and safer than the RenderCapacity API. * We have added wpt tests for the API.
None.
Can be tested by creating an AudioContext and evaluating context.playoutStats in the console.
https://wpt.fyi/results/webaudio/the-audio-api/the-audiocontext-interface/audiocontext-playoutstats.html?label=experimental&label=master&aligned These will be updated if the API shape changes.
Origin trial desktop first | 131 |
Origin trial desktop last | 136 |
Origin trial extension 1 end milestone | 142 |
Origin trial extension 2 end milestone | 139 |
DevTrial on desktop | 129 |