You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Describe the bug
Anytime I try to enable a different encoding with the controller constructor, the waveforms don't show up on recording and doesn't record at all. When I remove the encoder options, it works.
To Reproduce
Steps to reproduce the behavior:
Recording with ONLY this constructor works:
recorderController = RecorderController()
Change to following where encoder is literally anything as given in the documentation, and it stops working.
Expected behavior
Should record audio when using different encoders.
Smartphone (please complete the following information):
ios simnulator: 15 pro max
Additional context
I need to use one of the encoding formats listed on this Google Speech to Text documentation and, though the options exist for constructor, won't work when provided one.
Describe the bug
Anytime I try to enable a different encoding with the controller constructor, the waveforms don't show up on recording and doesn't record at all. When I remove the encoder options, it works.
To Reproduce
Steps to reproduce the behavior:
recorderController = RecorderController()
_recorderController = RecorderController()
..androidEncoder = AndroidEncoder.amr_wb
..iosEncoder = IosEncoder.kAudioFormatAMR_WB
..sampleRate = 16000;
Expected behavior
Should record audio when using different encoders.
Smartphone (please complete the following information):
ios simnulator: 15 pro max
Additional context
I need to use one of the encoding formats listed on this Google Speech to Text documentation and, though the options exist for constructor, won't work when provided one.
https://cloud.google.com/speech-to-text/docs/encoding#audio-encodings
The text was updated successfully, but these errors were encountered: