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
{{ message }}
This repository has been archived by the owner on Aug 14, 2019. It is now read-only.
When i start startMicAndRecognition() using SpeechRecognitionMode.LongDictation, and i speak anything immediately, the audio recognition works normally and i get results, but if i dont speak anything initially, it seems to timeout and auto shutdown/end the recognition.
I get an 'I/NLPLAT: ERROR: No Reco' in logcat
Can this behavior be configured differently? because i prefer to set it to listen and wait til it hears speech and not 'presume' a timeout error like it is now doing.
As a quick workaround to this, i am currently listening to onAudioEvent() to see if the recognition ended on startup, and restarting it with code ad infinitum til it finally hears speech and initializes normally.
The text was updated successfully, but these errors were encountered:
Let me explain
When i start startMicAndRecognition() using SpeechRecognitionMode.LongDictation, and i speak anything immediately, the audio recognition works normally and i get results, but if i dont speak anything initially, it seems to timeout and auto shutdown/end the recognition.
I get an 'I/NLPLAT: ERROR: No Reco' in logcat
Can this behavior be configured differently? because i prefer to set it to listen and wait til it hears speech and not 'presume' a timeout error like it is now doing.
As a quick workaround to this, i am currently listening to onAudioEvent() to see if the recognition ended on startup, and restarting it with code ad infinitum til it finally hears speech and initializes normally.
The text was updated successfully, but these errors were encountered: