diff --git a/lib/tasks/gather.js b/lib/tasks/gather.js index 834b0c0f..c072f603 100644 --- a/lib/tasks/gather.js +++ b/lib/tasks/gather.js @@ -376,8 +376,8 @@ class TaskGather extends SttTask { this.bugname = `${this.bugname_prefix}azure_transcribe`; this.addCustomEventListener( ep, AzureTranscriptionEvents.Transcription, this._onTranscription.bind(this, cs, ep)); - this.addCustomEventListener(ep, AzureTranscriptionEvents.NoSpeechDetected, - this._onNoSpeechDetected.bind(this, cs, ep)); + //this.addCustomEventListener(ep, AzureTranscriptionEvents.NoSpeechDetected, + //this._onNoSpeechDetected.bind(this, cs, ep)); this.addCustomEventListener(ep, AzureTranscriptionEvents.VadDetected, this._onVadDetected.bind(this, cs, ep)); break; case 'nuance': diff --git a/lib/tasks/transcribe.js b/lib/tasks/transcribe.js index 4dc82dc5..85ed6733 100644 --- a/lib/tasks/transcribe.js +++ b/lib/tasks/transcribe.js @@ -197,8 +197,8 @@ class TaskTranscribe extends SttTask { this.bugname = `${this.bugname_prefix}azure_transcribe`; this.addCustomEventListener(ep, AzureTranscriptionEvents.Transcription, this._onTranscription.bind(this, cs, ep, channel)); - this.addCustomEventListener(ep, AzureTranscriptionEvents.NoSpeechDetected, - this._onNoAudio.bind(this, cs, ep, channel)); + //this.addCustomEventListener(ep, AzureTranscriptionEvents.NoSpeechDetected, + // this._onNoAudio.bind(this, cs, ep, channel)); break; case 'nuance': this.bugname = `${this.bugname_prefix}nuance_transcribe`;