Skip to content

Playback Statistics API for WebAudio #1351

@hoch

Description

@hoch

Specification title

Playback Statistics API for WebAudio

Specification or proposal URL (if available)

https://webaudio.github.io/web-audio-api/#AudioPlaybackStats

Explainer URL (if available)

https://github.com/WICG/audio-context-playout-stats

Proposal author(s)

@hoch @Hernqvist

MDN URL

No response

Caniuse.com URL

No response

Bugzilla URL

No response

Mozillians who can provide input

@padenot

WebKit standards-position

No response

Other information

There is currently no way to detect whether WebAudio playback 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 playback 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 playback quality of the audio.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    Status

    Unscreened

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions