mirror of
https://github.com/jambonz/jambonz-feature-server.git
synced 2025-12-20 16:50:39 +00:00
fixes for listen and transcribe
This commit is contained in:
@@ -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();
|
||||
|
||||
Reference in New Issue
Block a user