Skip to main content

Signature

Building an AudioInput

There is no AudioInput.file on Web, unlike the native SDKs. Use AudioFileLoader from @runanywhere/web/browser to decode a File or Blob first.

From a file input

From the microphone

Microphone access needs a secure context and a user gesture. Calling start() outside a click handler is rejected by the browser, not by the SDK.

With options

See STT options.

Checking readiness