GrpcExtension Class

GRPC extension processor allows pipeline extension plugins to be connected to the pipeline through over a gRPC channel. Extension plugins must act as an gRPC server. Please see https://aka.ms/ava-extension-grpc for details.

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

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

Constructor

GrpcExtension(*, 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, data_transfer: azure.media.videoanalyzeredge._generated.models._models_py3.GrpcExtensionDataTransfer, sampling_options: Optional[azure.media.videoanalyzeredge._generated.models._models_py3.SamplingOptions] = None, extension_configuration: Optional[str] = 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.

data_transfer
<xref:azure.media.videoanalyzer.edge.models.GrpcExtensionDataTransfer>

Required. Specifies how media is transferred to the extension plugin.

extension_configuration
str

An optional configuration string that is sent to the extension plugin. The configuration string is specific to each custom extension and it not understood neither validated by Video Analyzer. Please see https://aka.ms/ava-extension-grpc for details.