From 124a3c35afa0c52e1dedb543790de7d6f34919e7 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Aleix=20Conchillo=20Flaqu=C3=A9?= Date: Wed, 21 Jan 2026 14:25:25 -0800 Subject: [PATCH] RTVIObserver: don't handle some frames direction --- src/pipecat/processors/frameworks/rtvi.py | 2 -- 1 file changed, 2 deletions(-) diff --git a/src/pipecat/processors/frameworks/rtvi.py b/src/pipecat/processors/frameworks/rtvi.py index ee25af839..87ad556d9 100644 --- a/src/pipecat/processors/frameworks/rtvi.py +++ b/src/pipecat/processors/frameworks/rtvi.py @@ -1100,13 +1100,11 @@ class RTVIObserver(BaseObserver): if ( isinstance(frame, (UserStartedSpeakingFrame, UserStoppedSpeakingFrame)) - and (direction == FrameDirection.DOWNSTREAM) and self._params.user_speaking_enabled ): await self._handle_interruptions(frame) elif ( isinstance(frame, (BotStartedSpeakingFrame, BotStoppedSpeakingFrame)) - and (direction == FrameDirection.UPSTREAM) and self._params.bot_speaking_enabled ): await self._handle_bot_speaking(frame)