Skip to main content
Version: 0.10.0

Type Alias: VadStreamOptions

VadStreamOptions = VadOptions & object

Defined in: extensions/speech/tasks/fsmnVoiceActivityDetection.ts:89

Options controlling live detection via detectVoiceOnStream. Extends the per-call detection thresholds (VadOptions).

Type Declaration

detectionMargin?

readonly optional detectionMargin: number

How recent (in milliseconds) the last detected speech segment must reach toward the end of the window for speech to still be considered ongoing.