extendable-media-recorder
Version:
An extendable drop-in replacement for the native MediaRecorder.
8 lines (6 loc) • 345 B
text/typescript
import { TElementType } from './element-type';
export type TDecodeWebMChunkFunction = (
dataView: Pick<DataView, 'byteLength' | 'byteOffset' | 'getFloat32' | 'getUint8'>,
elementType: null | TElementType,
channelCount?: number
) => { contents: (readonly Float32Array[])[]; currentElementType: null | TElementType; offset: number };