sampleRateHertz property
Sample rate in Hertz of the audio data sent in all RecognitionAudio
messages.
Valid values are: 8000-48000. 16000 is optimal. For best results, set the sampling rate of the audio source to 16000 Hz. If that's not possible, use the native sample rate of the audio source (instead of re-sampling). This field is optional for FLAC and WAV audio files, but is required for all other audio formats. For details, see AudioEncoding.
Implementation
core.int? sampleRateHertz;