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
After the first run the plugin seems to not receive correctly events. I have tried several coding examples using the Speech recognizer and all have the same behaviour. In the background the speech recognition seems to do its job but the plugin does not process any events as onspeechstart/end an so on. The double start workaround -issue 46- seems to fix it a bit, but not ever.
Looking at logcat the log shows that events are fired, but no one process them.
I/MediaFocusControl( 758): AudioFocus abandonAudioFocus() from android.media.AudioManager@6e031dfcom.google.android.apps.gsa.speech.audio.c.a$1@2e215e2c
D/SpeechRecognition( 9483): ready for speech
D/SpeechRecognition( 9483): begin speech
W/CordovaPlugin( 9483): Attempted to send a second callback for ID: SpeechRecognition552937109
W/CordovaPlugin( 9483): Attempted to send a second callback for ID: SpeechRecognition552937109
W/CordovaPlugin( 9483): Attempted to send a second callback for ID: SpeechRecognition552937109
W/CordovaPlugin( 9483): Attempted to send a second callback for ID: SpeechRecognition552937109
W/CordovaPlugin( 9483): Result was: {"type":"speechstart"}
D/SpeechRecognition( 9483): partial results
D/SpeechRecognition( 9483): partial results
D/SpeechRecognition( 9483): partial results
D/SpeechRecognition( 9483): partial results
D/SpeechRecognition( 9483): partial results
D/SpeechRecognition( 9483): partial results
D/SpeechRecognition( 9483): partial results
I/MicrophoneInputStream(10503): mic_close com.google.android.apps.gsa.speech.audio.ai@13fd7c3e
D/SpeechRecognition( 9483): end speech
W/CordovaPlugin( 9483): Attempted to send a second callback for ID: SpeechRecognition552937109
W/CordovaPlugin( 9483): Result was: {"type":"speechend"}
W/CordovaPlugin( 9483): Attempted to send a second callback for ID: SpeechRecognition552937109
W/CordovaPlugin( 9483): Attempted to send a second callback for ID: SpeechRecognition552937109
W/CordovaPlugin( 9483): Attempted to send a second callback for ID: SpeechRecognition552937109
D/SpeechRecognition( 9483): results
D/SpeechRecognition( 9483): onResults Bundle[mParcelledData.dataSize=268]
D/SpeechRecognition( 9483): fire recognition event
W/CordovaPlugin( 9483): Attempted to send a second callback for ID: SpeechRecognition552937109
The text was updated successfully, but these errors were encountered:
Hi,
After the first run the plugin seems to not receive correctly events. I have tried several coding examples using the Speech recognizer and all have the same behaviour. In the background the speech recognition seems to do its job but the plugin does not process any events as onspeechstart/end an so on. The double start workaround -issue 46- seems to fix it a bit, but not ever.
Looking at logcat the log shows that events are fired, but no one process them.
The text was updated successfully, but these errors were encountered: