SECUREXSECURITY ENGINEERINGNVR 文档

音频检测器

音频检测分析摄像头/麦克风的音轨,用于识别指定的声音类别。它和“双向对讲”是两套不同功能:音频检测负责听和分类,对讲负责浏览器/客户端把麦克风声音发送回摄像头。

前置条件

  • 输入流必须真的包含音频轨。
  • FFmpeg/go2rtc 必须能够正确读取该音频编码。
  • 只监听业务需要的类别,避免无意义的持续分类。

示例

audio:
  enabled: true
  listen:
    - bark
    - fire_alarm
    - scream
    - speech

调试

  1. 先用播放器或 ffprobe 确认源流存在音轨。
  2. 在 go2rtc/FFmpeg 日志确认没有 unsupported codec。
  3. 单独启用一两个类别测试。
  4. 再把声音事件接入通知或自动化。

隐私与合规

音频采集比视频更可能受到当地隐私、录音同意和劳动场所规定限制。部署前应根据使用地点确认适用规则,并只保留业务所需数据。

Audio Detectors

Audio detection analyzes the incoming audio track for selected sound classes. It is different from two-way talk: detection listens/classifies; talk sends client microphone audio back toward the camera.

Prerequisites

  • The source stream must actually carry audio.
  • go2rtc/FFmpeg must support the audio codec.
  • Listen only for useful classes to reduce unnecessary processing.

Example

audio:
  enabled: true
  listen:
    - bark
    - fire_alarm
    - scream
    - speech

Debug order

  1. Confirm an audio track with a player/ffprobe.
  2. Check go2rtc/FFmpeg for codec errors.
  3. Test one or two classes first.
  4. Only then connect audio events to alerts/automations.

Privacy

Audio capture can be subject to stricter consent and workplace rules than video. Apply the laws/policies relevant to the deployment and retain only what is necessary.

Detectores de audio

La detección de audio analiza la pista de sonido para clases seleccionadas. Es diferente del audio bidireccional: la detección escucha/clasifica; talk envía el micrófono del cliente a la cámara.

Requisitos

  • El stream debe tener audio.
  • go2rtc/FFmpeg debe soportar el códec.
  • Escuche solo clases necesarias.

Ejemplo

audio:
  enabled: true
  listen:
    - bark
    - fire_alarm
    - scream
    - speech

Diagnóstico

  1. Compruebe la pista con un reproductor/ffprobe.
  2. Revise errores de códec.
  3. Pruebe una o dos clases.
  4. Después cree alertas.

Privacidad

La grabación de audio puede tener reglas de consentimiento más estrictas. Cumpla la normativa aplicable y minimice la retención.

输入关键词开始搜索