Type alias RecordPluginOptions

RecordPluginOptions: {
    audioBitsPerSecond?: MediaRecorderOptions["audioBitsPerSecond"];
    mimeType?: MediaRecorderOptions["mimeType"];
    renderRecordedAudio?: boolean;
    scrollingWaveform?: boolean;
    scrollingWaveformWindow?: number;
}

Type declaration

  • Optional audioBitsPerSecond?: MediaRecorderOptions["audioBitsPerSecond"]

    The audio bitrate to use when recording audio, defaults to 128000 to avoid a VBR encoding.

  • Optional mimeType?: MediaRecorderOptions["mimeType"]

    The MIME type to use when recording audio

  • Optional renderRecordedAudio?: boolean

    Whether to render the recorded audio, true by default

  • Optional scrollingWaveform?: boolean

    Whether to render the scrolling waveform, false by default

  • Optional scrollingWaveformWindow?: number

    The duration of the scrolling waveform window, defaults to 5 seconds

Generated using TypeDoc