SECUREXSECURITY ENGINEERINGNVR 文档

配置 go2rtc

go2rtc 是 Securex NVR 的媒体复用层。它可以把一个摄像头源提供给实时预览、WebRTC/MSE、RTSP restream 和 FFmpeg,减少摄像头直接连接。

核心说明

本页内容按该功能本身整理,不再使用通用占位说明。以下项目均与当前主题直接相关。

流名称

给流使用稳定的标识,例如 front_main、front_sub;FFmpeg 与 UI 引用同一个名称。

优先 restream

如果 FFmpeg 直接连接摄像头,同时 WebRTC 又直连,容易触发设备连接上限;推荐统一经过 go2rtc。

音频

是否保留音频取决于用途。仅录像需要音频时,可让 detect 流保持无音频,减少无关处理。

排查

先打开 go2rtc 状态页确认源可播放,再查 FFmpeg;源本身失败时修改 Frigate 参数通常无效。

验证与排查

  • 修改或执行前记录当前版本/配置,以便回退。
  • 完成后同时检查 UI 状态和后端日志,不只看一个成功提示。
  • 如果问题只在单个摄像头/插件出现,先做最小范围对比,避免全局改动。

Configure go2rtc

go2rtc is the media restream layer. It can feed live view, WebRTC/MSE, RTSP restream and FFmpeg from a single camera source.

Core behavior

This page is topic-specific rather than a generic placeholder.

Stream names

Use stable identifiers such as front_main/front_sub and reuse them consistently.

Prefer restream

Centralize connections through go2rtc to avoid camera connection limits.

Audio

Keep audio only where needed; the detect stream does not need it unless audio processing is used.

Troubleshooting

Verify the source in go2rtc before troubleshooting FFmpeg.

Verification and troubleshooting

  • Record the current version/config before changes so rollback is possible.
  • Verify both UI state and backend logs after the change.
  • If only one camera/plugin is affected, isolate it before making global changes.

Configurar go2rtc

go2rtc es la capa de restream: alimenta vista en vivo, WebRTC/MSE, RTSP y FFmpeg desde una sola fuente.

Comportamiento

Esta página contiene contenido específico del tema, no un texto genérico.

Nombres

Use identificadores estables como front_main/front_sub.

Preferir restream

Centralice conexiones para evitar límites de la cámara.

Audio

Mantenga audio solo donde sea necesario.

Diagnóstico

Compruebe primero la fuente en go2rtc.

Verificación y diagnóstico

  • Registre versión/configuración antes de cambiar para poder revertir.
  • Compruebe UI y logs del backend después.
  • Si afecta a una sola cámara/plugin, aíslelo antes de cambios globales.
输入关键词开始搜索