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
| Property | Type | Description | Inherited from | Defined in |
|---|---|---|---|---|
durationMs | number | How 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.metadata | src/core/events/types.ts:94 |
timestamp | number | Unix timestamp (in milliseconds) when the event occurred. Remarks Useful for latency measurements and debugging the pipeline timing. | BaseEvent.timestamp | src/core/events/types.ts:86 |
type | "vad.speechEnd" | Discriminant for this event type. | - | src/core/events/types.ts:1248 |