Class GrpcExtension
java.lang.Object
com.azure.media.videoanalyzer.edge.models.ProcessorNodeBase
com.azure.media.videoanalyzer.edge.models.ExtensionProcessorBase
com.azure.media.videoanalyzer.edge.models.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.
-
Constructor Summary
ConstructorDescriptionGrpcExtension
(String name, List<NodeInput> inputs, EndpointBase endpoint, ImageProperties image, GrpcExtensionDataTransfer dataTransfer) Creates an instance of GrpcExtension class. -
Method Summary
Modifier and TypeMethodDescriptionGet the dataTransfer property: Specifies how media is transferred to the extension plugin.Get the extensionConfiguration property: An optional configuration string that is sent to the extension plugin.setExtensionConfiguration
(String extensionConfiguration) Set the extensionConfiguration property: An optional configuration string that is sent to the extension plugin.setSamplingOptions
(SamplingOptions samplingOptions) Set the samplingOptions property: Media sampling parameters that define how often media is submitted to the extension plugin.Methods inherited from class com.azure.media.videoanalyzer.edge.models.ExtensionProcessorBase
getEndpoint, getImage, getSamplingOptions
Methods inherited from class com.azure.media.videoanalyzer.edge.models.ProcessorNodeBase
getInputs, getName
-
Constructor Details
-
GrpcExtension
public GrpcExtension(String name, List<NodeInput> 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
Get the dataTransfer property: Specifies how media is transferred to the extension plugin.- Returns:
- the dataTransfer value.
-
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
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
Set the samplingOptions property: Media sampling parameters that define how often media is submitted to the extension plugin.- Overrides:
setSamplingOptions
in classExtensionProcessorBase
- Parameters:
samplingOptions
- the samplingOptions value to set.- Returns:
- the ExtensionProcessorBase object itself.
-