TECHNOLOGY

MediaRecorder isTypeSupported: declared support does not guarantee a recording run

In this article
THE QUICK TAKE

The method's documented true result describes recording capability for the supplied MIME type; insufficient resources can still prevent recording. A false result excludes that requested capability under the interface's scope. The retrieved recording draft also labels this synchronous method as legacy and points toward richer capability discovery. That draft statement must be distinguished from the API actually deployed in a supported browser. Neither route removes the need to observe recorde.

MediaRecorder.isTypeSupported is a capability probe, not a reservation of recording resources or a completed export. A browser can recognize an audio MIME type while the actual recording still fails. A voice ingestion interface should therefore preserve the difference between selecting a plausible format, starting capture and obtaining a finalized usable recording.

The audio contract

The method’s documented true result describes recording capability for the supplied MIME type; insufficient resources can still prevent recording. A false result excludes that requested capability under the interface’s scope. The retrieved recording draft also labels this synchronous method as legacy and points toward richer capability discovery. That draft statement must be distinguished from the API actually deployed in a supported browser. Neither route removes the need to observe recorder construction, runtime errors, final data delivery and the resulting artifact.

Implementation details

Probe the exact intended MIME and codec declaration, retain the result and then validate construction and actual recording as separate stages. Record the recorder’s effective mimeType when available. If fallback is allowed, make the selected format visible to the upload and decoding path rather than retaining the rejected format’s filename or metadata. Handle runtime failure without publishing a normal-completion status. Preserve browser revision and capability-discovery method, especially when moving from a synchronous legacy probe to another API with a more detailed configuration model.

A constructed validation case

Test a supported request, an unsupported codec declaration and a controlled runtime failure after a successful probe. Verify that each stage has a distinct outcome and that fallback artifacts carry truthful effective format information. Reopen the completed successful recording through the intended consumer path. Acceptance requires an explicit capability result plus actual lifecycle evidence, not an assertion that true guarantees success under every resource condition. Keep the failed runtime case visible even if a later retry succeeds, so diagnostics do not erase the original boundary failure.

Operational limits

A playable recording still needs waveform and speech-quality checks. This guide isolates capability-versus-runtime evidence. It prevents a supported format label from becoming an unsupported promise about capture continuity, completed upload or a speech model’s ability to decode every browser-produced artifact.

Primary references

Recording Spec; MediaRecorder isTypeSupported: capability and runtime limits.

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.

AAC Board AI offline communication: optional suggestions and available speech voices have separate limits; Long audio with Whisper: segments, queues and durable results.

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.

Explore GPU hosting
← All articles