Support for echo cancellation
Is your feature request related to a problem? Please describe. When using this library with text to speech, the speech playing from the speaker gets picked up by the microphone causing an echo. This result in speech to text picking up the audio playing from text to speech. To create an experience similar to basic voice agents, this would be a great feature. expo-speech-recognition does support this: https://github.com/jamsch/expo-speech-recognition/pull/92 but they have other annoying issues.
Describe the solution you'd like This code in this this file: ios/ExpoSpeechRecognizer.swift in the PR I linked above.
Describe alternatives you've considered I have not tried it yet, but using incallmanager might be a way to workaround this. Turning off the microphone why speech is being played is a bad workaround, since it does not allow a hands off experience for the user.