Class ExtensionProcessorBase
java.lang.Object
com.azure.media.videoanalyzer.edge.models.ProcessorNodeBase
com.azure.media.videoanalyzer.edge.models.ExtensionProcessorBase
- Direct Known Subclasses:
GrpcExtension
,HttpExtension
Base class for pipeline extension processors. Pipeline extensions allow for custom media analysis and processing to
be plugged into the Video Analyzer pipeline.
-
Constructor Summary
ConstructorDescriptionExtensionProcessorBase
(String name, List<NodeInput> inputs, EndpointBase endpoint, ImageProperties image) Creates an instance of ExtensionProcessorBase class. -
Method Summary
Modifier and TypeMethodDescriptionGet the endpoint property: Endpoint details of the pipeline extension plugin.getImage()
Get the image property: Image transformations and formatting options to be applied to the video frame(s) prior submission to the pipeline extension plugin.Get the samplingOptions property: Media sampling parameters that define how often media is submitted 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.ProcessorNodeBase
getInputs, getName
-
Constructor Details
-
ExtensionProcessorBase
public ExtensionProcessorBase(String name, List<NodeInput> inputs, EndpointBase endpoint, ImageProperties image) Creates an instance of ExtensionProcessorBase 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.
-
-
Method Details
-
getEndpoint
Get the endpoint property: Endpoint details of the pipeline extension plugin.- Returns:
- the endpoint value.
-
getImage
Get the image property: Image transformations and formatting options to be applied to the video frame(s) prior submission to the pipeline extension plugin.- Returns:
- the image value.
-
getSamplingOptions
Get the samplingOptions property: Media sampling parameters that define how often media is submitted to the extension plugin.- Returns:
- the samplingOptions value.
-
setSamplingOptions
Set the samplingOptions property: Media sampling parameters that define how often media is submitted to the extension plugin.- Parameters:
samplingOptions
- the samplingOptions value to set.- Returns:
- the ExtensionProcessorBase object itself.
-