Closed fsuaterdogan closed 2 years ago
Did you see this?
https://github.com/JamesBrill/react-speech-recognition/blob/master/docs/API.md#functions
SpeechRecognition.startListening({ continuous: true })
I think this solves your problem
Hi @fsuaterdogan
@lnfernandobr is correct - you just need to pass the continuous: true
option to startListening
and the microphone will remain on until you explicitly call stopListening
or abortListening
.
Hi, thanks for the lib. My question is,
Its automaticly closing when I stop talking. How can I disable this? I want to just close on button clicks. Thanks