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.
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.