Remove duplicate frame push if simli connection isn't ready

This commit is contained in:
antonyesk601
2024-12-10 10:18:31 +00:00
parent 397342d0b9
commit 81a18633ca

View File

@@ -96,7 +96,6 @@ class SimliVideoService(FrameProcessor):
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)):