Contact emails

hongc...@chromium.org, ajayrahate...@google.com

Explainer

N/A - the specification (W3C Recommendation) is already published.

Specification

https://www.w3.org/TR/webaudio/#dom-audiocontext-outputlatency

Summary

AudioContext.outputLatency property is the estimation in seconds of audio
output latency.

Technically, this is the interval between the time the UA requests the host
system to play a buffer and the time at which the first sample in the
buffer is actually processed by the audio output device. For devices such
as speakers or headphones that produce an acoustic signal, this latter time
refers to the time when a sample’s sound is produced.


Blink component

Blink>WebAudio
<https://bugs.chromium.org/p/chromium/issues/list?q=component:Blink%3EWebAudio>

TAG review

Completed: Web Audio API specification is W3C Recommendation.

TAG review status

Completed: Web Audio API specification is W3C Recommendation.

Risks

There is a risk of the feature being used for fingerprinting. However
outputLatency
is the buffer size of the platform-provided audio callback, so the value is
inherently platform-specific. That said, the majority of the platform audio
buffer size is widely known. (MacOS = 128 frames, Windows = 10ms, Android =
96 frames, etc)

This feature  does not expose more than what you can query/infer from the
UA string.

Interoperability and Compatibility

Gecko: Shipped/Shipping

WebKit: No signal

Web developers: Positive (
https://github.com/WebAudio/web-audio-api/issues/12)

Other signals: A WebCodecs demo application needs this feature.


Is this feature fully tested by web-platform-tests
<https://chromium.googlesource.com/chromium/src/+/master/docs/testing/web_platform_tests.md>
?

No - this property represents a platform-provided output latency value of a
selected audio device. It does not work properly without an actual audio
device.

Flag name

N/A

Requires code in //chrome?

False

Tracking bug

http://crbug.com/785409

Launch bug

http://crbug.com/1258109

Estimated milestones

98


Link to entry on the Chrome Platform Status

https://chromestatus.com/feature/5682265146261504

This intent message was generated by Chrome Platform Status
<https://www.chromestatus.com/>.


-- 
Ajay Rahatekar | Technical Program Manager | ajayrahate...@google.com |
650-797-1279 <(650)%20650-797-1279>

-- 
You received this message because you are subscribed to the Google Groups 
"blink-dev" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to blink-dev+unsubscr...@chromium.org.
To view this discussion on the web visit 
https://groups.google.com/a/chromium.org/d/msgid/blink-dev/CAHB%2BDAgeEo86rN4TrL4n8DutRczgXAogTwYLTo%2BPZco84aMq%3Dg%40mail.gmail.com.

Reply via email to