mirror of
https://github.com/jambonz/jambonz-feature-server.git
synced 2025-12-20 08:40:38 +00:00
wip
This commit is contained in:
@@ -907,7 +907,7 @@ class TaskTranscribe extends SttTask {
|
|||||||
canFallback(ep) {
|
canFallback(ep) {
|
||||||
const isHandledByPrimaryProvider = ep === this.ep ?
|
const isHandledByPrimaryProvider = ep === this.ep ?
|
||||||
this.isHandledByPrimaryProviderForEp1 : ep === this.ep2 ?
|
this.isHandledByPrimaryProviderForEp1 : ep === this.ep2 ?
|
||||||
this.isHandledByPrimaryProviderForEp2 : false;
|
this.isHandledByPrimaryProviderForEp2 : this.isHandledByPrimaryProvider;
|
||||||
return this.fallbackVendor && isHandledByPrimaryProvider && !this.cs.hasFallbackAsr;
|
return this.fallbackVendor && isHandledByPrimaryProvider && !this.cs.hasFallbackAsr;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user