İngilizce dilinde oku

Aracılığıyla paylaş


GrpcExtension Class

public final class GrpcExtension
extends ExtensionProcessorBase

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.

Constructor Summary

Method Summary

Modifier and Type Method and Description
GrpcExtensionDataTransfer getDataTransfer()

Get the dataTransfer property: Specifies how media is transferred to the extension plugin.

String getExtensionConfiguration()

Get the extensionConfiguration property: An optional configuration string that is sent to the extension plugin.

GrpcExtension setExtensionConfiguration(String extensionConfiguration)

Set the extensionConfiguration property: An optional configuration string that is sent to the extension plugin.

GrpcExtension setSamplingOptions(SamplingOptions samplingOptions)

Set the samplingOptions property: Media sampling parameters that define how often media is submitted to the extension plugin.

Methods inherited from ExtensionProcessorBase

Methods inherited from ProcessorNodeBase

Methods inherited from java.lang.Object

Constructor Details

GrpcExtension

public GrpcExtension(String name, List inputs, EndpointBase endpoint, ImageProperties image, GrpcExtensionDataTransfer dataTransfer)

Creates an instance of GrpcExtension class.

Parameters:

name - the name value to set.
inputs - the inputs value to set.
endpoint - the endpoint value to set.
image - the image value to set.
dataTransfer - the dataTransfer value to set.

Method Details

getDataTransfer

public GrpcExtensionDataTransfer getDataTransfer()

Get the dataTransfer property: Specifies how media is transferred to the extension plugin.

Returns:

the dataTransfer value.

getExtensionConfiguration

public String getExtensionConfiguration()

Get the extensionConfiguration property: 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.

Returns:

the extensionConfiguration value.

setExtensionConfiguration

public GrpcExtension setExtensionConfiguration(String extensionConfiguration)

Set the extensionConfiguration property: 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.

Parameters:

extensionConfiguration - the extensionConfiguration value to set.

Returns:

the GrpcExtension object itself.

setSamplingOptions

public GrpcExtension setSamplingOptions(SamplingOptions samplingOptions)

Set the samplingOptions property: Media sampling parameters that define how often media is submitted to the extension plugin.

Overrides:

GrpcExtension.setSamplingOptions(SamplingOptions samplingOptions)

Parameters:

samplingOptions

Applies to

Azure SDK for Java

Legacy