Type alias RecordPluginOptions

RecordPluginOptions: {
    audioBitsPerSecond?: MediaRecorderOptions["audioBitsPerSecond"];
    continuousWaveform?: boolean;
    continuousWaveformDuration?: number;
    mediaRecorderTimeslice?: number;
    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 continuousWaveform?: boolean

    Accumulate and render the waveform data as the audio is being recorded, false by default

  • Optional continuousWaveformDuration?: number

    The duration of the continuous waveform, in seconds

  • Optional mediaRecorderTimeslice?: number

    The timeslice to use for the media recorder

  • Optional mimeType?: MediaRecorderOptions["mimeType"]

    The MIME type to use when recording audio

  • Optional renderRecordedAudio?: boolean

    Whether to render the recorded audio at the end, 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