Class ExtensionProcessorBase
- java.lang.Object
-
- com.azure.media.videoanalyzer.edge.models.ProcessorNodeBase
-
- com.azure.media.videoanalyzer.edge.models.ExtensionProcessorBase
-
- Direct Known Subclasses:
GrpcExtension
,HttpExtension
public class ExtensionProcessorBase extends ProcessorNodeBase
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
Constructors Constructor Description ExtensionProcessorBase(String name, List<NodeInput> inputs, EndpointBase endpoint, ImageProperties image)
Creates an instance of ExtensionProcessorBase class.
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description EndpointBase
getEndpoint()
Get the endpoint property: Endpoint details of the pipeline extension plugin.ImageProperties
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.SamplingOptions
getSamplingOptions()
Get the samplingOptions property: Media sampling parameters that define how often media is submitted to the extension plugin.ExtensionProcessorBase
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 Detail
-
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 Detail
-
getEndpoint
public EndpointBase getEndpoint()
Get the endpoint property: Endpoint details of the pipeline extension plugin.- Returns:
- the endpoint value.
-
getImage
public ImageProperties 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
public SamplingOptions getSamplingOptions()
Get the samplingOptions property: Media sampling parameters that define how often media is submitted to the extension plugin.- Returns:
- the samplingOptions value.
-
setSamplingOptions
public ExtensionProcessorBase setSamplingOptions(SamplingOptions samplingOptions)
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.
-
-