QualityMonitoringSettings interface
Settings for the QualityMonitoring node. see NorskInspect.qualityMonitoring()
Signature:
export interface QualityMonitoringSettings extends ProcessorNodeSettings<QualityMonitoringNode>
Extends: ProcessorNodeSettings<QualityMonitoringNode>
Properties
| Property | Type | Description |
|---|---|---|
(Optional) Audio monitoring configuration — omit to disable audio monitoring entirely. |
||
(event: { reason: string; }) ⇒ void |
(Optional) Analysis degraded to pure passthrough (e.g. the decode child died and is being respawned). MQA write should cease while degraded. |
|
(event: { lagMs: number; }) ⇒ void |
(Optional) Analysis fell behind: frames are shipping at the latency budget without their own measurements (scores carry forward with analysisLagMs set). |
|
(event: { latencyMs: number; }) ⇒ void |
(Optional) How long an NR-IQA inference took (submit → complete) — the analysis latency, distinct from the decode-pipeline hold (analysisLagMs). Reported once per completed inference. |
|
() ⇒ void |
(Optional) Analysis caught back up within the latency budget. |
|
() ⇒ void |
(Optional) Analysis restored after a degrade. |
|
() ⇒ void |
(Optional) The (off-loop) Spectrum/NR-IQA pipeline compilation has finished and analysis is now running against decoded frames. Until this fires, encoded frames pass straight through unanalysed, so wait for it before expecting measurements for a specific event. Raised once, on the compressed-input path. |
|
(measurements: AudioGraphMeasurement[]) ⇒ void |
(Optional) Called once per analysis window with that window’s audio measurements — whole-stream detector readings (silence/clip/dc/…) plus, when QualityMonitoringAudioSettings.meterDetect is enabled, per-channel meter levels ( |
|
(readings: Record<string, Record<string, number>>) ⇒ void |
(Optional) Convenience view of the same event: the window’s whole-stream readings folded by metric family ( |
|
(event: { previousSampleEveryMs: number; sampleEveryMs: number; }) ⇒ void |
(Optional) The adaptive NR-IQA sampler changed the effective sample interval (ms) to stay within the latency budget. |
|
(Optional) Video monitoring configuration — omit to disable video monitoring entirely. |