sample 05 works

This commit is contained in:
Moishe Lettvin
2024-02-28 13:49:08 -05:00
parent 8071ee6b4b
commit 9829f77052
3 changed files with 15 additions and 25 deletions

View File

@@ -47,7 +47,6 @@ class PipeService(AbstractPipeService):
frame: QueueFrame = await self.source_queue.get()
async for output_frame in self.process_frame(frame):
if isinstance(frame, EndStreamQueueFrame):
print("end of stream", type(self))
async for final_frame in self.finalize():
await self.sink_queue.put(final_frame)
await self.sink_queue.put(output_frame)