For AI agents: a documentation index is available at the root level at /llms.txt and /llms-full.txt. Append /llms.txt to any URL for a page-level index, or .md for the markdown version of any page.
Platform docsVideosCommunitySign up
CapabilitiesGetting startedVoice AI OrchestrationVoxEngine PlatformAPI ReferenceFAQ
CapabilitiesGetting startedVoice AI OrchestrationVoxEngine PlatformAPI ReferenceFAQ
      • Overview
        • ASR
        • ASRDictionary
        • ASREvents
        • ASRLanguage
        • ASRModel
        • ASRProfile
        • Voice
        • TranscriptionProvider
        • TTSEffectsProfile
          • Overview
          • VAD
          • VADEvents
        • DialogflowLanguage
        • DialogflowModel
        • DialogflowModelVariant
        • DialogflowSsmlVoiceGender
  • Management API
    • Reference
    • Authorization
    • Errors
  • Web SDK
    • Overview
  • Android SDK
    • Overview
  • Android SDK v3
    • Overview
  • iOS SDK
    • Overview
  • React Native SDK
    • Overview
  • Flutter SDK
    • Overview
LogoLogo
Platform docsVideosCommunitySign up
On this page
  • Methods
  • addEventListener
  • close
  • id
  • removeEventListener
  • reset
  • webSocketId
VoxEngineSpeech, ASR, and TTSSilero

VAD

||View as Markdown|
Was this page helpful?
Edit this page
Previous

Silero

Next

VADEvents

Built with

Methods

addEventListener

Adds a handler for the specified Silero.VADEvents event. Use only functions as handlers; anything except a function leads to the error and scenario termination when a handler is called.

1addEventListener(event: Silero.VADEvents | T, callback: (event: Silero._VADEvents[T]) => any): void

Parameters

event
Silero.VADEvents | TRequired
callback
(event: Silero._VADEvents[T]) => anyRequired

close

Closes the VAD connection (over WebSocket) or connection attempt.

1close(): void

id

Returns the VAD id.

1id(): string

removeEventListener

Removes a handler for the specified Silero.VADEvents event.

1removeEventListener(event: Silero.VADEvents | T, callback?: (event: Silero._VADEvents[T]) => any): void

Parameters

event
Silero.VADEvents | TRequired
callback
(event: Silero._VADEvents[T]) => any

reset

Reset the VAD context.

1reset(): void

webSocketId

Returns the VAD WebSocket id.

1webSocketId(): string