Events and integration
How detections leave the device: ONVIF event topics, recording rules, MQTT and VMS integration.
A detection is useful only once it reaches the system your operators watch. Cochl Acoustic Security raises standard AXIS events, so anything that consumes AXIS or ONVIF events consumes a sound detection, with no Cochl-specific integration.
Event topics
The application declares one topic per tag, plus one that covers every tag:
tnsaxis:CameraApplicationPlatform/cochlsense_official/cochlsense_official<Tag>| Topic suffix | Tag |
|---|---|
Siren | Siren |
Car_horn_alarm | Car horn alarm |
Fire_smoke_alarm | Fire smoke alarm |
Tire_squeal | Tire squeal |
Glass_break | Glass break |
Scream | Scream |
Yell | Yell |
Gunshot | Gunshot |
Speech | Speech |
any | Any of the above |
In device and VMS menus they appear under Cochl Acoustic Security with names such as
cochlsense_official Glass_break. The console lists every topic under Configuration → ONVIF
event topics, ready to copy, with Test alarm above it to raise any tag's event on demand.
A per-tag event carries two fields, the same shape as AXIS Audio Analytics' own classes:
| Field | Value |
|---|---|
Label | The tag, for example Glass_break |
Detected | true while the tag is active, false when it clears |
The score and the level are on the any pulse, sent alongside each detection:
| Field | Value |
|---|---|
Label | Always any |
Detected | Always true |
Tag | The tag that was detected, for example Glass_break |
Probability | The tag's score, from 0 to 1 |
AudioLevel | An internal energy value of the window that triggered it. It is not in dB and has no unit: use it only to compare windows on the same device. On a test event it is the noise gate's current value. |
Why the score is not on the per-tag topic
A device action rule can only use a stateful event whose state is a single field. Earlier
releases put Probability and AudioLevel on the per-tag topics as well, and the device's rule
engine could not use those topics at all. If an integration reads the score from a per-tag topic,
read it from any instead.
Stateful events and the hold time
The per-tag topics are stateful: a tag becomes active on the first window that detects it and inactive once nothing has detected it for the detection hold time — 5 seconds by default, or 2, 10 or 30 seconds, set under Configuration → Detection hold.
So one incident is one active period, however long the sound lasts, and a sound that stutters — a siren passing behind buildings, repeated shouting — stays one incident as long as the gaps are shorter than the hold. Lengthen the hold if one incident is producing several alarms; shorten it if separate incidents are being merged.
The any topic is different: it is a pulse, sent once for each tag detected in each window.
Use it to count or log detections, not to drive a "while active" rule.
Recording on a detection
Use the per-tag topics with a record while the event is active rule, so the recording lasts as long as the incident.
Set a pre-buffer of at least 3 seconds
A detection is reported one to three seconds after the sound begins: the application has to hear a full two-second window before it can decide. A recording that starts at the event misses the start of the incident. Give the rule a pre-buffer of at least 3 seconds.
The recording is where the audio evidence lives — the application itself stores no audio.
Other loud sound, sound level, device rules
Besides the tag topics, there are other-loud-sound and sound level topics — see Other loud sound and sound level. Detections can also drive the device's own action rules without a VMS and be written onto the video — see Device rules and video overlay.
MQTT
AXIS OS can publish device events to an MQTT broker. Configure the broker in the device's MQTT settings and include the application's topics in the event filter; no Cochl-specific setup is needed.
VMS integration
Any VMS that receives ONVIF or AXIS events from the device receives these. Map the topics to alarms or recording rules in the VMS as you would any other device event, then verify the chain with Send test event (Testing).
Step-by-step setup for specific VMS products is available on request from contact@cochl.ai, and is being added to this page.
Privacy
No audio is recorded or streamed off the device by the application. Only event data leaves it, which is often the deciding factor in spaces where recording audio would not be permitted at all.
The console can also draw the model's input spectrogram. A spectrogram is not audio, but speech can be partly reconstructed from one, so it is off by default: the device neither keeps nor serves it until an installer switches Spectrogram on in the console. When on, the device keeps about 90 seconds of it in memory; it is never written to storage. Switching it off discards what was kept.
Last updated
Need help? Contact support@cochl.ai
Mention Cochl Acoustic Security and what you were trying to do.

