GrpcExtension Constructor

Definition

Initializes a new instance of GrpcExtension.

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);
new Azure.Media.VideoAnalyzer.Edge.Models.GrpcExtension : string * seq<Azure.Media.VideoAnalyzer.Edge.Models.NodeInput> * Azure.Media.VideoAnalyzer.Edge.Models.EndpointBase * Azure.Media.VideoAnalyzer.Edge.Models.ImageProperties * Azure.Media.VideoAnalyzer.Edge.Models.GrpcExtensionDataTransfer -> Azure.Media.VideoAnalyzer.Edge.Models.GrpcExtension
Public Sub New (name As String, inputs As IEnumerable(Of NodeInput), endpoint As EndpointBase, image As ImageProperties, dataTransfer As GrpcExtensionDataTransfer)

Parameters

name
String

Node name. Must be unique within the topology.

inputs
IEnumerable<NodeInput>

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

endpoint
EndpointBase

Endpoint details of the pipeline extension plugin.

image
ImageProperties

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

dataTransfer
GrpcExtensionDataTransfer

Specifies how media is transferred to the extension plugin.

Exceptions

name, inputs, endpoint, image or dataTransfer is null.

Applies to