fix pause transcribe cannot close transcription on 2nd leg (#621)

This commit is contained in:
Hoan Luu Huu
2024-01-18 23:21:25 +07:00
committed by GitHub
parent 5d4f25622d
commit 1a80910f91

View File

@@ -95,7 +95,7 @@ class TaskTranscribe extends SttTask {
}
if (this.separateRecognitionPerChannel && this.ep2 && this.ep2.connected) {
stopTranscription = true;
this.ep2.stopTranscription({vendor: this.vendor})
this.ep2.stopTranscription({vendor: this.vendor, bugname: this.bugname})
.catch((err) => this.logger.info(err, 'Error TaskTranscribe:kill'));
}