fixes for listen and transcribe

This commit is contained in:
Dave Horton
2020-01-25 16:39:37 -05:00
parent 0df1e44f15
commit 03e8727c8b
3 changed files with 16 additions and 7 deletions

View File

@@ -78,7 +78,7 @@ class TaskTranscribe extends Task {
_onTranscription(ep, evt) {
this.logger.debug(evt, 'TaskTranscribe:_onTranscription');
this.notifyHook(this.transcriptionCallback, 'POST', {speech: evt});
this.notifyHook(this.transcriptionCallback, 'POST', null, {speech: evt});
if (this.killed) {
this.logger.debug('TaskTranscribe:_onTranscription exiting after receiving final transcription');
this._clearTimer();