mirror of
https://github.com/jambonz/jambonz-feature-server.git
synced 2025-12-20 08:40:38 +00:00
bugfix: gather with google STT does not need to restart transcribing after end of utterance
This commit is contained in:
@@ -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) {
|
||||
|
||||
Reference in New Issue
Block a user