Class GrpcExtension
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.
Inherited Members
Namespace: System.Dynamic.ExpandoObject
Assembly: Azure.Media.VideoAnalyzer.Edge.dll
Syntax
public class GrpcExtension : Azure.Media.VideoAnalyzer.Edge.Models.ExtensionProcessorBase
Constructors
GrpcExtension(String, IEnumerable<NodeInput>, EndpointBase, ImageProperties, GrpcExtensionDataTransfer)
Initializes a new instance of GrpcExtension.
Declaration
public GrpcExtension (string name, System.Collections.Generic.IEnumerable<Azure.Media.VideoAnalyzer.Edge.Models.NodeInput> inputs, Azure.Media.VideoAnalyzer.Edge.Models.EndpointBase endpoint, Azure.Media.VideoAnalyzer.Edge.Models.ImageProperties image, Azure.Media.VideoAnalyzer.Edge.Models.GrpcExtensionDataTransfer dataTransfer);
Parameters
System.String
name
Node name. Must be unique within the topology. |
System.Collections.Generic.IEnumerable<NodeInput>
inputs
An array of upstream node references within the topology to be used as inputs for this node. |
EndpointBase
endpoint
Endpoint details of the pipeline extension plugin. |
ImageProperties
image
Image transformations and formatting options to be applied to the video frame(s) prior submission to the pipeline extension plugin. |
GrpcExtensionDataTransfer
dataTransfer
Specifies how media is transferred to the extension plugin. |
Exceptions
System.ArgumentNullException
|
Properties
DataTransfer
Specifies how media is transferred to the extension plugin.
Declaration
public Azure.Media.VideoAnalyzer.Edge.Models.GrpcExtensionDataTransfer DataTransfer { get; set; }
Property Value
GrpcExtensionDataTransfer
|
ExtensionConfiguration
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.
Declaration
public string ExtensionConfiguration { get; set; }
Property Value
System.String
|