JitterBufferConfig interface

Shared configuration for outputs that use a jitter buffer

Signature:

export interface JitterBufferConfig

Properties

Property Type Description

bufferDelayMs?

number

(Optional) Buffer delay in milliseconds

calibrationWindowDurationMs?

number

(Optional) Duration of the calibration window in milliseconds

consecutiveGood?

number

(Optional) How many good samples are needed to determine stability

dejitterWindowDurationMs?

number

(Optional) Duration of the dejitter window in milliseconds

driftCorrectionFactor?

number

(Optional) Factor for drift correction (0.0-1.0, higher = more aggressive correction)

maxPeriodMs?

number

(Optional) Max period to wait before deciding a stream is stable

maxSlope?

number

(Optional) Deviation allowed from perfect fit

minPeriodMs?

number

(Optional) Min period to wait before deciding a stream is stable

monitoringEnabled?

boolean

(Optional) Enable/disable linear regression monitoring after calibration

preT0GapThresholdMs?

number

(Optional) Gap threshold in ms for pre-T0 gap detection

preT0MaxDurationMs?

number

(Optional) Maximum duration in ms to wait for gap detection

preT0TotalGaps?

number

(Optional) Number of gaps allowed before T0

stabilityMode?

StabilityMode

(Optional) How to determine stability: global (default) uses aggregate metrics, perStream checks each stream individually