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.
-
Frame
s 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. -
FrameProcessor
s process frames (e.g. they convert aTextFrame
to anImageRawFrame
) and push new frames downstream or upstream to their linked peers. -
FrameProcessor
s can be linked together. The easiest wait is to use thePipeline
which is a container for processors. Linking processors allow frames to travel upstream or downstream easily. -
Transport
s 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). -
Pipeline
s are just a processor container for other processors. -
A
PipelineTask
know how to run a pipeline. -
A
PipelineRunner
can run one or more tasks and it is also used, for example, to capture Ctrl-C from the user.