-
-
Notifications
You must be signed in to change notification settings - Fork 120
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
cannot abort speech recogntion #1
Comments
I've made some changes in #2 that should alleviate these issues. Of most relevance to you will be the new Let me know if upgrading to 1.0.3 improves things for you! |
So far this is working beautifully. Thanks so much for taking the time to improve the package. I will let you know if I notice any other issues. |
Everything looks great but I'll point out two minor issues I've seen.
. However if I am "listening" and I unmount the component I get this warning:
|
|
Looking forward to the next release |
|
THANKS! Working great |
If I wrap SpeechRecognitionContainer in a top level component the app is always listening even when I don't want it to -- if I talk the transcript prop gets updated to what I am saying. I want it to start recognizing speech when I click the recording button, not all the time. (The red recording icon always shows in the tab bar. I only want it to show whenI click the recording button).
I tried using this.props.recognition.abort() and this.props.recognition.stop() to try and stop the recognition but nothing works.
Is it possible to choose when I want to start and stop speech recognition?
In addition - the speech recognition does not work when the SpeechRecognitionContainer and the component it wraps gets unmounted and then remounted.
Any suggestions?
The text was updated successfully, but these errors were encountered: