Hiyve Components - v1.0.0
    Preparing search index...

    Interface UseClipRecorderOptions

    Options for useClipRecorder hook.

    interface UseClipRecorderOptions {
        audioProfile?: ClipAudioProfile;
        maxDuration?: number;
        onError?: (error: Error) => void;
        timeSlice?: number;
    }
    Index

    Properties

    audioProfile?: ClipAudioProfile

    Capture profile to start with when the user has not chosen one yet. The user's own choice (settings dialog / setAudioProfile) is remembered across sessions and wins over this.

    'instrument'

    maxDuration?: number

    Maximum recording duration in seconds

    onError?: (error: Error) => void

    Error callback

    timeSlice?: number

    MediaRecorder time slice in ms for ondataavailable