fix support precache audio with tts stream (#855)

* fix support precache audio with tts stream

* update speech util
This commit is contained in:
Hoan Luu Huu
2024-08-15 19:22:00 +07:00
committed by GitHub
parent 020c84d2df
commit 12174359f2
3 changed files with 9 additions and 9 deletions

View File

@@ -149,7 +149,7 @@ class TaskSay extends TtsTask {
credentials,
options: this.options,
disableTtsCache : this.disableTtsCache,
preCache
renderForCaching: preCache
});
if (!filePath.startsWith('say:')) {
this.logger.debug(`Say: file ${filePath}, served from cache ${servedFromCache}`);