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