diff --git a/lib/tasks/gather.js b/lib/tasks/gather.js index 0d4ea346..02cdecdd 100644 --- a/lib/tasks/gather.js +++ b/lib/tasks/gather.js @@ -660,9 +660,14 @@ class TaskGather extends Task { this._killAudio(cs); } + // DCH: commenting out because my experience is that the google STT engine + // will keep listening after it detects end of utterance, and will return a final transcript + // My earlier understanding that we needed to stop and restart the recognizer appears incorrect. + /* if (!this.resolved && !this.killed && !this._bufferedTranscripts.length) { this._startTranscribing(ep); } + */ } _onStartOfSpeech(cs, ep) {