From 304153dd036cc78813bc7499d9bcc9b956b7fce8 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Aleix=20Conchillo=20Flaqu=C3=A9?= Date: Wed, 30 Apr 2025 18:52:34 -0700 Subject: [PATCH] TTSService: set transport destination to all TTS frames --- src/pipecat/services/tts_service.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/pipecat/services/tts_service.py b/src/pipecat/services/tts_service.py index 10d5c89aa..ed37caa01 100644 --- a/src/pipecat/services/tts_service.py +++ b/src/pipecat/services/tts_service.py @@ -219,7 +219,7 @@ class TTSService(AIService): silence_frame.transport_destination = self._transport_destination await self.push_frame(silence_frame) - if isinstance(frame, TTSAudioRawFrame): + if isinstance(frame, (TTSStartedFrame, TTSStoppedFrame, TTSAudioRawFrame, TTSTextFrame)): frame.transport_destination = self._transport_destination await super().push_frame(frame, direction)