Remove duplicate frame push if simli connection isn't ready
This commit is contained in:
@@ -96,7 +96,6 @@ class SimliVideoService(FrameProcessor):
|
|||||||
logger.warning(
|
logger.warning(
|
||||||
"Simli Connection is not Initialized properly, passing audio to next processor"
|
"Simli Connection is not Initialized properly, passing audio to next processor"
|
||||||
)
|
)
|
||||||
await self.push_frame(frame, direction)
|
|
||||||
except Exception as e:
|
except Exception as e:
|
||||||
logger.exception(f"{self} exception: {e}")
|
logger.exception(f"{self} exception: {e}")
|
||||||
elif isinstance(frame, (EndFrame, CancelFrame)):
|
elif isinstance(frame, (EndFrame, CancelFrame)):
|
||||||
|
|||||||
Reference in New Issue
Block a user