examples: make sure unhandled frames are always pushed
This commit is contained in:
@@ -328,6 +328,8 @@ class CompletenessCheck(FrameProcessor):
|
||||
await self._notifier.notify()
|
||||
elif isinstance(frame, TextFrame) and frame.text == "NO":
|
||||
logger.debug("!!! Completeness check NO")
|
||||
else:
|
||||
await self.push_frame(frame, direction)
|
||||
|
||||
|
||||
class OutputGate(FrameProcessor):
|
||||
|
||||
Reference in New Issue
Block a user