SileroVADOptions
Options for SileroVAD.
Defined in: src/core/vad/SileroVAD.ts:83
Options for SileroVAD.
Properties
| Property | Type | Default value | Description | Defined in |
|---|---|---|---|---|
modelUrl? | string | DEFAULT_SILERO_MODEL_URL | Where to load the model from. Remarks A URL in browsers; a URL or filesystem path in Node. | src/core/vad/SileroVAD.ts:92 |
ort? | OrtLike | undefined | Internal Inject an ONNX Runtime implementation directly, bypassing the peer dependency import. Remarks Intended for tests and advanced embedding scenarios (e.g. a bundler that provides its own ORT instance). | src/core/vad/SileroVAD.ts:115 |
runtime? | "auto" | "web" | "node" | 'auto' | Which ONNX Runtime package to load. Remarks 'auto' picks onnxruntime-web when a window global exists and onnxruntime-node otherwise. | src/core/vad/SileroVAD.ts:103 |