共用方式為


MediaGraphGrpcExtension Class

Definition

A processor that allows the media graph to send video frames to an external inference container over a gRPC connection. This can be done using shared memory (for high frame rates), or over the network. Inference results are relayed to downstream nodes.

public class MediaGraphGrpcExtension : Azure.Media.Analytics.Edge.Models.MediaGraphExtensionProcessorBase
type MediaGraphGrpcExtension = class
    inherit MediaGraphExtensionProcessorBase
Public Class MediaGraphGrpcExtension
Inherits MediaGraphExtensionProcessorBase
Inheritance

Constructors

MediaGraphGrpcExtension(String, IEnumerable<MediaGraphNodeInput>, MediaGraphEndpoint, MediaGraphImage, MediaGraphGrpcExtensionDataTransfer)

Initializes a new instance of MediaGraphGrpcExtension.

Properties

DataTransfer

How media should be transferred to the inference engine.

Endpoint

Endpoint to which this processor should connect.

(Inherited from MediaGraphExtensionProcessorBase)
ExtensionConfiguration

Optional configuration to pass to the gRPC extension.

Image

Describes the parameters of the image that is sent as input to the endpoint.

(Inherited from MediaGraphExtensionProcessorBase)
Inputs

An array of the names of the other nodes in the media graph, the outputs of which are used as input for this processor node.

(Inherited from MediaGraphProcessor)
Name

The name for this processor node.

(Inherited from MediaGraphProcessor)
SamplingOptions

Describes the sampling options to be applied when forwarding samples to the extension.

(Inherited from MediaGraphExtensionProcessorBase)

Applies to