Changed
Many things have changed in this version. Many of the main ideas such as frames, processors, services and transports are still there but some things have changed a bit.
-
Frames describe the basic units for processing. For example, text, image or audio frames. Or control frames to indicate a user has started or stopped speaking. -
FrameProcessors process frames (e.g. they convert aTextFrameto anImageRawFrame) and push new frames downstream or upstream to their linked peers. -
FrameProcessors can be linked together. The easiest wait is to use thePipelinewhich is a container for processors. Linking processors allow frames to travel upstream or downstream easily. -
Transports are a way to send or receive frames. There can be local transports (e.g. local audio or native apps), network transports (e.g. websocket) or service transports (e.g. https://daily.co). -
Pipelines are just a processor container for other processors. -
A
PipelineTaskknow how to run a pipeline. -
A
PipelineRunnercan run one or more tasks and it is also used, for example, to capture Ctrl-C from the user.