Open yaron-E92 opened 4 months ago
After a while, I'm testing on Android, and I find out the speech recognition stops automatically after a short while. I need to then activate the pause from it using a PausedAutomatically
event, that the view model will subscribe to
PausedAutomatically
eventOnRecognitionTextCompleted
publish such an event and change the state to paused.I've done it a tad differently at the end. Will do a PR now
Short research revealed that the community toolkit for MAUI has a
SpeechToText
built in!! But instead of throwing what I've done so far away, I will leave it and make aSpeechToTextConverter
that also implements theAudioRecorder
but usesSpeechToText
under the hood. The reason why, is to allow the user to pause, which theSpeechToText
does not support on its own.