Channel count (1 = mono, 2 = stereo).
The codec / container of DataBase64. 'webm-opus' is the default
in-page MediaRecorder output; 'opus' / 'pcm16' are reserved for
future backend capture paths (e.g. a server-side virtual audio sink).
Base64-encoded encoded audio data for this chunk (no data URI prefix).
OptionalDurationApproximate duration of this chunk in milliseconds, when known.
Sample rate in Hz (typically 48000 for the MediaRecorder Opus path).
Monotonically increasing chunk index, starting at 0 for the first chunk of a capture session. Lets consumers detect ordering / dropped chunks and resync the decode pipeline after a gap.
A single chunk of audio captured FROM the browser tab (the media playing inside the page — e.g. a YouTube video's soundtrack), emitted by BaseBrowserAdapter.StartAudioCapture's callback.
The default capture path (see PlaywrightBrowserAdapter) taps a playing
<video>/<audio>element withelement.captureStream()and encodes the tracks with an in-pageMediaRecorder, so each chunk is a self-describing, webm-Opus-encoded slice of the audio. Adapters without in-page capture never emit chunks.