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