* fix #1466:

* do not send tts streaming events when we are not doing tts streaming
This commit is contained in:
Dave Horton
2025-12-09 09:43:53 -05:00
committed by GitHub
parent 9104ebb603
commit e396b6aa98
5 changed files with 9 additions and 9 deletions

View File

@@ -881,7 +881,7 @@ class TaskGather extends SttTask {
this._fillerNoiseOn = false; // in a race, if we just started audio it may sneak through here
this.ep.api('uuid_break', this.ep.uuid)
.catch((err) => this.logger.info(err, 'Error killing audio'));
cs.clearTtsStream();
if (cs.isTtsStreamEnabled) cs.clearTtsStream();
}
return;
}