diff --git a/lib/tasks/transcribe.js b/lib/tasks/transcribe.js index 4c47f3a8..30dca36e 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 (ep._speechHandlersSet) return; - ep._speechHandlersSet = true; + if (this[`_speechHandlersSet_${channel}`]) return; + this[`_speechHandlersSet_${channel}`] = true; const opts = this.setChannelVarsForStt(this, this.sttCredentials, this.data.recognizer); switch (this.vendor) { case 'google':