NoiseSuppression
Methods
addEventListener
Adds a handler for the specified Hush.NoiseSuppressionEvents or Hush.Events event. Use only functions as handlers; anything except a function leads to the error and scenario termination when a handler is called.
Parameters
clearMediaBuffer
Clears the NoiseSuppression WebSocket media buffer.
Parameters
close
Closes the NoiseSuppression connection (over WebSocket) or connection attempt.
id
Returns the NoiseSuppression id.
removeEventListener
Removes a handler for the specified Hush.NoiseSuppressionEvents or Hush.Events event.
Parameters
reset
Resets the Hush ONNX streaming state and resampler buffers.
sendMediaTo
Starts sending denoised media from the NoiseSuppression (via WebSocket) to the media unit.
Parameters
stop
Stops the noise suppression session on the connector.
stopMediaTo
Stops sending media from the NoiseSuppression (via WebSocket) to the media unit.
Parameters
webSocketId
Returns the NoiseSuppression WebSocket id.