Fixed transcribe 2 legs cannot fallback (#1451)

* fixed transcribe cannot fallback for specific endpoint

* wip

* wip

* wip

* wip

* wip

* wip

* wip

* wip
This commit is contained in:
Hoan Luu Huu
2025-11-29 09:43:05 +07:00
committed by GitHub
parent cc1751f500
commit a5fa5fce5b
3 changed files with 60 additions and 9 deletions

View File

@@ -1161,7 +1161,7 @@ class TaskGather extends SttTask {
}
async _startFallback(cs, ep, evt) {
if (this.canFallback) {
if (this.canFallback()) {
this._stopTranscribing(ep);
try {
this.logger.debug('gather:_startFallback');