processor

abstract val processor: Session.Processor

Provides a Processor to run this Session's image, audio and other data processing operations over a connected input with the results observed through any connected outputs. If no input is connected then it is expected that certain Session features such as lenses will produce no results as they require continuous input frames to process and produce output frames.

To simplify management of input connection to this processor, Sources for ImageProcessor, AudioProcessor and other processors can be provided to Builder.imageProcessorSource and Builder.audioProcessorSource when configuring a new Session.

NOTE: Actual processing of any inputs and outputs connected to this processor is delegated to a multiple of underlying implementations such as LensesComponent.Processor and AdjustmentsComponent.Processor.