@langwatch/scenario
    Preparing search index...

    Interface WebRTCVadFallbackOptions

    interface WebRTCVadFallbackOptions {
        hysteresisFrames?: number;
        onSpeechEnd?: () => void;
        onSpeechStart?: () => void;
        rmsThreshold?: number;
    }
    Index

    Properties

    hysteresisFrames?: number

    Override the hysteresis frame count. Default: DEFAULT_HYSTERESIS_FRAMES.

    onSpeechEnd?: () => void

    Fires when silence is detected after speech (after hysteresis).

    onSpeechStart?: () => void

    Fires when speech is detected (after hysteresis).

    rmsThreshold?: number

    Override the default RMS threshold (raw amplitude over PCM16 samples). Default: DEFAULT_RMS_THRESHOLD.