Class SamplingOptions
Defines how often media is submitted to the extension plugin.
Inheritance
System.Object
SamplingOptions
Namespace: System.Dynamic.ExpandoObject
Assembly: Azure.Media.VideoAnalyzer.Edge.dll
Syntax
public class SamplingOptions
Constructors
SamplingOptions()
Initializes a new instance of SamplingOptions.
Declaration
public SamplingOptions ();
Properties
MaximumSamplesPerSecond
Maximum rate of samples submitted to the extension. This prevents an extension plugin to be overloaded with data.
Declaration
public string MaximumSamplesPerSecond { get; set; }
Property Value
System.String
|
SkipSamplesWithoutAnnotation
When set to 'true', prevents frames without upstream inference data to be sent to the extension plugin. This is useful to limit the frames sent to the extension to pre-analyzed frames only. For example, when used downstream from a motion detector, this can enable for only frames in which motion has been detected to be further analyzed.
Declaration
public string SkipSamplesWithoutAnnotation { get; set; }
Property Value
System.String
|