tts: make push_stop_frames default to 2.0s

This commit is contained in:
Aleix Conchillo Flaqué
2025-02-19 21:39:00 -08:00
parent 77e777b1ce
commit 293677588d
3 changed files with 1 additions and 6 deletions

View File

@@ -209,7 +209,7 @@ class TTSService(AIService):
# if True, TTSService will push TTSStoppedFrames, otherwise subclass must do it
push_stop_frames: bool = False,
# if push_stop_frames is True, wait for this idle period before pushing TTSStoppedFrame
stop_frame_timeout_s: float = 1.0,
stop_frame_timeout_s: float = 2.0,
# if True, TTSService will push silence audio frames after TTSStoppedFrame
push_silence_after_stop: bool = False,
# if push_silence_after_stop is True, send this amount of audio silence