Skip to Content
Platform.Ontology

Audio base latency

AudioContext.baseLatency reveals the audio stack and hardware.

Gets silentlyGraphics and fingerprintingAudioWeb browsersWhen the page loadsWhile you use it

In one line

Can measure your audio delay to guess your system and audio hardware

AudioContext.baseLatency reveals the audio stack and hardware.

Typical values 0.005 to 0.04 seconds depending on OS and driver (macOS about 0.01, Windows 0.01 to 0.03, Android up to 0.04). Mild hardware signal; read without playing sound.

What it can and can't do

What the user does: Nothing. It happens when the page loads

It can

  • Check the audio delay, usually 0.005 to 0.04 seconds
  • Guess your system, such as macOS, Windows or Android
  • Do this without playing any sound

It cannot

  • Listen to you or record sound
  • Ask permission first
  • Name your exact headphones or speakers
  • Know who you are by itself

Browser support

BrowserStatusFirst versionReleasedNote
ChromeSupported582017-04-19None
EdgeSupported792020-01-15None
FirefoxSupported702019-10-22None
SafariSupported14.12021-04-26None
Safari on iPhoneSupported14.52021-04-26None
Chrome on AndroidSupported582017-04-25None
Samsung InternetSupported7.02018-03-16None

How a site asks for it

APInew AudioContext().baseLatency
How access is grantednone
What the user seesNone
Needs a secure context (HTTPS)No
Needs a user gestureNo
How long it lastsread fresh on every page load; nothing stored
How to take it backnone needed (no grant)
Inside an iframeReadable from cross-origin iframes too (same values)

Typical flow

  1. Page script reads the value
  2. No prompt is shown

Data you get

Shape: object
How often: static per session

FieldTypeUnitRangePrecision
baseLatencyfloatseconds0 to about 0.1double precision

Technical limits

  • Does not need microphone

The story

What it is

A page reads how long your audio system takes to start sound, which hints at your hardware.

For you

You never see a prompt. You just get better timed sound in games and music apps. The same number can quietly tell a site if you use a phone, a laptop or a studio sound card.

For makers

Real time audio apps need this number to line sound up with the screen. Trackers and fraud tools add it to a device profile since it differs by hardware and operating system.

Where you see it

TypeExampleApps
gamesA browser rhythm game uses your audio delay to shift the note timing so the beat matches what you hear.None named
musicA web music maker adjusts its recording delay so a track recorded from the mic lines up with the backing.BandLab, Soundtrap
videoA video call tool tunes its audio buffer to avoid echo and lag on your headset.Google Meet, Zoom web client
liveA live streaming page keeps the sound and the picture aligned by checking audio output delay.Twitch
securityA fraud tool sees an audio delay typical of a virtual machine and raises the risk.None named
adsA tracker puts the delay value in a device ID along with other audio numbers.None named
educationA web music lesson app checks delay so it can tell you whether you played in time.None named

Risks

  • Reveals audio hardware
  • Adds to a device ID

What the platform says

Good uses and abuse

Legitimate uses

  • Latency tuning

Known abuse

  • Hardware fingerprint

Scores

ScoreValueMeaning
Sensitivity1 of 5How revealing the data is
Utility1 of 5How useful it is to honest apps
Friction0 of 5How much the user has to do
Fingerprint bits2Rough identifying entropy, when known

History

  • 2025-09, Safari 26: Web audio readback restricted for known fingerprinters

Sources

How well checked: Based on official documentation.

On this page