Skip to content

VADSpeechEndEvent

Emitted when the local VAD detects the user has stopped speaking.

Defined in: src/core/events/types.ts:1246

Emitted when the local VAD detects the user has stopped speaking.

Remarks

Fires after VADConfig.silenceDurationMs of silence — the local, configurable end-of-turn signal. It does not by itself trigger LLM processing (the STT provider’s utterance-complete result does that), but it is the earliest “user stopped speaking” timestamp available.

See

VADEvent for all VAD event types

Extends

  • BaseEvent

Properties

PropertyTypeDescriptionInherited fromDefined in
durationMsnumberHow long the speech segment lasted, in milliseconds.-src/core/events/types.ts:1251
metadata?Record<string, unknown>Optional metadata associated with the event. Remarks May contain provider-specific data or debugging information.BaseEvent.metadatasrc/core/events/types.ts:94
timestampnumberUnix timestamp (in milliseconds) when the event occurred. Remarks Useful for latency measurements and debugging the pipeline timing.BaseEvent.timestampsrc/core/events/types.ts:86
type"vad.speechEnd"Discriminant for this event type.-src/core/events/types.ts:1248

© 2026 CompositeVoice. All rights reserved.

Font size
Contrast
Motion
Transparency