VAD
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.
Parameters
event
callback
close
Closes the VAD connection (over WebSocket) or connection attempt.
id
Returns the VAD id.
removeEventListener
Removes a handler for the specified Silero.VADEvents event.
Parameters
event
callback
reset
Reset the VAD context.
webSocketId
Returns the VAD WebSocket id.