What the browser applied to the track, once recording has started
Open the microphone and start collecting samples.
A running audio context (resume it inside a user gesture first)
The take clock samples are stamped against
The settings the browser applied to the microphone track
Stop recording, release the microphone, and return the captured audio. The chunks held while recording are let go once the take is assembled, so a take costs its length once over from here, not twice.
Staticistrue when the browser can open a microphone and run an AudioWorklet
Records unprocessed microphone audio through an AudioWorklet.
Opens the microphone with the SDK's capture profile constraints (
instrumentby default: no echo cancellation, noise suppression or automatic gain), reads back what the browser actually applied, and collects raw samples stamped with their audio-context frame so they line up with the take clock.Example