const audioCtx = new AudioContext();
const stats = audioCtx.playbackStats;
// ...
// Log maximum latency
console.log(stats.maximumLatency);AudioPlaybackStats: maximumLatency property / notebook
AudioPlaybackStats: maximumLatency property
Runnable notebook: every JavaScript, HTML and CSS example on this page executes in a sandboxed local frame. Nothing leaves the browser.