Screen helpers · function
describeClipMime
Read back what a recording MIME type promises, without recording anything.
Explained in Recording and clips.
function describeClipMime(mime: string): ClipMimeDescriptionimport { describeClipMime } from '@driftengine/core';Parameters
| Parameter | Type | Description |
|---|---|---|
mime | string |
In depth
Pure, and string-parsing rather than clever: the accepted candidate above is the only
evidence available about a MediaRecorder file's audio codec, since the blob's type
is just the string it was handed.