SamplingOptions Class

Definition

Defines how often media is submitted to the extension plugin.

public class SamplingOptions
type SamplingOptions = class
Public Class SamplingOptions
Inheritance
SamplingOptions

Constructors

SamplingOptions()

Initializes a new instance of SamplingOptions.

Properties

MaximumSamplesPerSecond

Maximum rate of samples submitted to the extension. This prevents an extension plugin to be overloaded with data.

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.

Applies to