Skip to content

Commit

Permalink
Remove duplicate frame push if simli connection isn't ready
Browse files Browse the repository at this point in the history
  • Loading branch information
Antonyesk601 committed Dec 10, 2024
1 parent 397342d commit 81a1863
Showing 1 changed file with 0 additions and 1 deletion.
1 change: 0 additions & 1 deletion src/pipecat/services/simli.py
Original file line number Diff line number Diff line change
Expand Up @@ -96,7 +96,6 @@ async def process_frame(self, frame: Frame, direction: FrameDirection):
logger.warning(
"Simli Connection is not Initialized properly, passing audio to next processor"
)
await self.push_frame(frame, direction)
except Exception as e:
logger.exception(f"{self} exception: {e}")
elif isinstance(frame, (EndFrame, CancelFrame)):
Expand Down

0 comments on commit 81a1863

Please sign in to comment.