OptionalcontentSpeech to text translation, empty if nothing was recognized
Duration in seconds
OptionalerrorIf speech recognition function threw an error, it will be set here
When the user started speaking, in milliseconds since the Unix epoch
Useful if you want to send audio to some API or play it in browser
Wav audio encoded to base64
Saves audio to .wav file
File directory, for example: ./test.wav
Audio in .wav format
PCM mono 16-bit audio data with 48kHz sample rate