In this article
The recording specification states that individual Blobs need not be playable, while their combination from a completed recording must be playable. Headers and container structures can span the logical recording rather than repeat in every delivery. Whole-file decodeAudioData likewise expects complete file data. These contracts do not imply that every recording requires waiting until the end for all possible processing; they mean that an incremental path must understand the actual container.
A MediaRecorder dataavailable Blob is a portion of a recording, not necessarily a standalone audio file. A server that sends each portion directly to a whole-file decoder can reject valid recording output. The useful compatibility boundary is the ordered completed recording or an explicitly supported incremental container decoder, rather than the browser event boundary.
The audio contract
The recording specification states that individual Blobs need not be playable, while their combination from a completed recording must be playable. Headers and container structures can span the logical recording rather than repeat in every delivery. Whole-file decodeAudioData likewise expects complete file data. These contracts do not imply that every recording requires waiting until the end for all possible processing; they mean that an incremental path must understand the actual container and its stream state rather than reset a file decoder for each event.
Implementation details
Choose between collecting ordered portions into a completed artifact and using a validated streaming demux/decode path. Preserve recorder identity, portion order and finalization status. Do not concatenate portions from unrelated recordings because their filenames or MIME labels match. Keep transport retries from duplicating container bytes. If the model expects fixed waveform windows, build them from successfully decoded audio with explicit remainder handling. A Blob boundary should not automatically become a transcript segment boundary, a codec reset or a declaration that an utterance has ended.
A constructed validation case
Capture a controlled recording with multiple delivered portions. Attempt standalone decoding of each portion only as a diagnostic, then decode their correct completed combination through the supported consumer. For an incremental implementation, vary transport segmentation while preserving byte order and compare the reconstructed valid waveform extent. Add missing, duplicated and cross-recording portions as negative cases. Acceptance requires the selected artifact or streaming contract to remain correct, without demanding independent playability from every Blob or hiding malformed assembly behind automatic retries.
Operational limits
Correct container assembly does not establish low-latency ASR or recognition accuracy. It establishes that the decoder received the audio object its interface expects. Measure delivery, decode readiness and model processing separately when comparing browser recording routes for a real-time voice service.
Primary references
Recording Spec; Mdn Audio Decode.
This is a proposed voice-system validation, not an executed Retrivium benchmark. Preserve the implementation version and unresolved outcomes; interface documentation does not establish the quality or timing of a deployed voice service.
Related reading
DAC long-audio compression: the container carries more than neural codes; Mimi streaming frames: network chunks must be buffered before codec input.
Earn rental income from GPUs
Have idle GPUs or looking to fund AI infrastructure? Retrivium finds a rental platform, sets up the server and helps you assess income and costs with a pilot.