Overview
For streaming workloads, maintain aVadStreamState and process chunks individually. Each call emits at most one VadStreamEvent describing a speech start or end boundary.
Quick Start
VadStreamResult
| Property | Type | Description |
|---|---|---|
state | VadStreamState | Updated state for next chunk |
event | VadStreamEvent? | Speech start/end (only at boundaries) |
probability | Float | Raw VAD probability (0.0-1.0) |
Notes
- Chunks don’t need to be exactly 4096 samples
- Call
makeStreamState()to reset (equivalent to Silero’sreset_states) - Use
probabilityfor custom thresholding alongside the built-in hysteresis