diff --git a/lib/tasks/transcribe.js b/lib/tasks/transcribe.js index 4e87810d..4c47f3a8 100644 --- a/lib/tasks/transcribe.js +++ b/lib/tasks/transcribe.js @@ -175,8 +175,8 @@ class TaskTranscribe extends SttTask { } async _setSpeechHandlers(cs, ep, channel) { - if (this._speechHandlersSet) return; - this._speechHandlersSet = true; + if (ep._speechHandlersSet) return; + ep._speechHandlersSet = true; const opts = this.setChannelVarsForStt(this, this.sttCredentials, this.data.recognizer); switch (this.vendor) { case 'google':