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