ExtensionProcessorBase Class

Base class for pipeline extension processors. Pipeline extensions allow for custom media analysis and processing to be plugged into the Video Analyzer pipeline.

You probably want to use the sub-classes and not this class directly. Known sub-classes are: GrpcExtension, HttpExtension.

All required parameters must be populated in order to send to Azure.

Inheritance
azure.media.videoanalyzeredge._generated.models._models_py3.ProcessorNodeBase
ExtensionProcessorBase

Constructor

ExtensionProcessorBase(*, name: str, inputs: List[azure.media.videoanalyzeredge._generated.models._models_py3.NodeInput], endpoint: azure.media.videoanalyzeredge._generated.models._models_py3.EndpointBase, image: azure.media.videoanalyzeredge._generated.models._models_py3.ImageProperties, sampling_options: Optional[azure.media.videoanalyzeredge._generated.models._models_py3.SamplingOptions] = None, **kwargs)

Variables

type
str

Required. Type discriminator for the derived types.Constant filled by server.

name
str

Required. Node name. Must be unique within the topology.

inputs
list[<xref:azure.media.videoanalyzer.edge.models.NodeInput>]

Required. An array of upstream node references within the topology to be used as inputs for this node.

endpoint
<xref:azure.media.videoanalyzer.edge.models.EndpointBase>

Required. Endpoint details of the pipeline extension plugin.

image
<xref:azure.media.videoanalyzer.edge.models.ImageProperties>

Required. Image transformations and formatting options to be applied to the video frame(s) prior submission to the pipeline extension plugin.

sampling_options
<xref:azure.media.videoanalyzer.edge.models.SamplingOptions>

Media sampling parameters that define how often media is submitted to the extension plugin.