#241 - gather bargein on Nuance has to be based on start of speech event (#246)

This commit is contained in:
Dave Horton authored and GitHub committed 2023-03-03 13:39:23 -05:00
1 parent 1c683f1142
commit 3084a9d6ba
1 file changed
+3
+3
View File
@@ -655,6 +655,9 @@ class TaskGather extends Task {
_onStartOfSpeech(cs, ep) {
this.logger.debug('TaskGather:_onStartOfSpeech');
if (this.bargein) {
this._killAudio(cs);
}
}
_onTranscriptionComplete(cs, ep) {
this.logger.debug('TaskGather:_onTranscriptionComplete');