Skip to main content
Deno 2 is finally here 🎉️
Learn more
Go to Latest
interface Protocol.WebAudio.ContextRealtimeData
import { type Protocol } from "https://deno.land/x/puppeteer@14.1.1/vendor/puppeteer-core/puppeteer/api-docs-entry.d.ts";
const { ContextRealtimeData } = Protocol.WebAudio;

Fields in AudioContext that change in real-time.

Properties

currentTime: number

The current context time in second in BaseAudioContext.

renderCapacity: number

The time spent on rendering graph divided by render quantum duration, and multiplied by 100. 100 means the audio renderer reached the full capacity and glitch may occur.

callbackIntervalMean: number

A running mean of callback interval.

callbackIntervalVariance: number

A running variance of callback interval.