gather say support ttstream (#1128)

This commit is contained in:
Hoan Luu Huu
2025-03-27 18:19:19 +07:00
committed by GitHub
parent 9c437ab687
commit f33f197e8d

View File

@@ -110,6 +110,12 @@ class TaskGather extends SttTask {
return this.fillerNoise.startDelaySecs;
}
get isStreamingTts() { return this.sayTask && this.sayTask.isStreamingTts; }
getTtsVendorData() {
if (this.sayTask) return this.sayTask.getTtsVendorData(this.cs);
}
get summary() {
let s = `${this.name}{`;
if (this.input.length === 2) s += 'inputs=[speech,digits],';