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) {
|
async _setSpeechHandlers(cs, ep, channel) {
|
||||||
if (ep._speechHandlersSet) return;
|
if (this[`_speechHandlersSet_${channel}`]) return;
|
||||||
ep._speechHandlersSet = true;
|
this[`_speechHandlersSet_${channel}`] = true;
|
||||||
const opts = this.setChannelVarsForStt(this, this.sttCredentials, this.data.recognizer);
|
const opts = this.setChannelVarsForStt(this, this.sttCredentials, this.data.recognizer);
|
||||||
switch (this.vendor) {
|
switch (this.vendor) {
|
||||||
case 'google':
|
case 'google':
|
||||||
|
|||||||
Reference in New Issue
Block a user