Dominevo
ReferenceDevice capabilities

audio-analysis

audio-analysis — device-scoped facade over the system audio-analyzer.

audio-analysis — device-scoped facade over the system audio-analyzer.

Pairs with audio-analyzer (system, singleton) the way camera-streams pairs with stream-broker: the system cap owns the compute path (processChunk, engine lifecycle) while audio-analysis exposes the per-device surface — settings resolution, device-settings contribution, audio-level events — and is the binding row every camera sees in the device-manager bindings UI.

The cap definition itself declares kind: 'wrapper' and defaultActive: true, so every camera picks up audio analysis automatically without any runtime flag in the addon's registration. Operators can disable per-device via device-manager.setWrapperActive when they don't want a given camera to be analysed (e.g. muted / motion-only cams).

At a glance

Capabilityaudio-analysis
Provided byAn addon wraps the device and provides it. It is bound to a device through the device bindings and can be bound automatically to compatible devices.
Active providers per deviceone
Device typescamera
Sourcepackages/types/src/capabilities/audio-analysis.cap.ts

Methods

Every method takes the device id (deviceId) to address the device; the input tables below list the other fields.

MethodKindRequired of a providerAccess
resolveDeviceSettingsqueryyesdefault

resolveDeviceSettings

query

Resolve per-device audio analysis settings (minConfidence, allowedClasses) from the addon settings store for a given camera. Orchestrator callers use this before handing chunks to audio-analyzer.processChunk.

Input

No fields besides deviceId.

Output

binary or opaque value

Events

onAudioLevel

FieldTypeRequiredDescription
deviceIdnumberyes
rmsnumberyes
dbfsnumberyes