How we built it

WebAudio: Add buffering/latency hint via playbackCategory

Currently, WebAudio will use the lowest latency possible for the audio device for the best interactive behavior. However, for some use-cases such as media playback, this causes unnecessary power and/or CPU utilization. The playbackCategory is a hint from the developer that such a latency is not required, allowing the developer to give a hint on the desired latency. Chrome will make the actual selection based on the category.

Documentation

Specification

Editor's draft

Status in Chromium

Enabled by default (launch bug) in:

  • Chrome for desktop release 58
  • Chrome for Android release 58
  • Chrome for iOS release 58
  • Android WebView release 58
  • Opera release 45
  • Opera for Android release 45

Consensus & Standardization

  • No public signals
  • No public signals
  • No public signals
  • Positive

Owners

Last updated on 2017-02-14