实时监控
实时监控 是日常使用层,而不是独立的摄像头协议。它建立在摄像头取流、目标跟踪、录像和事件索引正常的基础上。出现问题时,应先判断是“媒体链路”还是“索引/事件层”故障。
数据来源
- Live:实时源主要来自 go2rtc/摄像头 restream,并可根据客户端选择 WebRTC/MSE 等方式。
- Review:把对象、区域、音频和其他事件组织成适合人工核查的条目。
- History/Explore:对已建立索引的历史目标和属性做浏览与过滤。
推荐使用方式
- 先在 Live 确认实时画面与延迟正常。
- 制造一个明确的 person/car 测试事件。
- 确认 Review 能看到条目、缩略图和时间线。
- 确认点击条目能回放对应录像。
- 再测试 Zone、sub_label、LPR、Face、GenAI 等筛选条件。
事件有但回放失败
这通常不是目标检测问题。重点检查 record role、录像段是否写入、时间戳是否连续、存储是否可写,以及浏览器/API 是否能读取媒体文件。
Live 卡顿
- 先检查源 RTSP 丢包和摄像头 Wi‑Fi。
- 再检查 go2rtc 日志与 WebRTC candidate/端口。
- 如果只有高分辨率主码流卡顿,测试低码流以区分网络与解码性能问题。
Live View
Live View is a user-facing layer built on working camera acquisition, tracking, recording, and indexing. When it fails, first separate media-path problems from event/index problems.
Data sources
- Live primarily consumes real-time camera/go2rtc streams and may use WebRTC/MSE.
- Review organizes tracked objects, zones, audio, and other events into items for human review.
- History/Explore browse indexed historical objects and attributes.
Validation flow
- Confirm Live video and latency.
- Create a clear person/vehicle test event.
- Verify Review item, thumbnail, and timeline.
- Open playback for the matching recording.
- Then test zone/sub-label/LPR/face/GenAI filters.
Event exists but playback fails
This is usually a recording/media issue, not detection. Inspect the record role, segment creation, timestamps, storage permissions, and media-serving API.
Live stutters
- Check RTSP packet loss/Wi-Fi first.
- Then inspect go2rtc and WebRTC candidates/ports.
- Compare main and sub streams to separate network from decode performance.
Vista en vivo
Vista en vivo es una capa de uso que depende de captura, seguimiento, grabación e índices correctos. Separe primero fallos del camino multimedia de fallos de eventos/índice.
Fuentes
- Live usa streams de cámara/go2rtc y WebRTC/MSE.
- Review organiza objetos, zonas, audio y otros eventos.
- History/Explore navega objetos históricos indexados.
Validación
- Compruebe Live.
- Genere un evento claro.
- Revise item/thumbnail/timeline.
- Abra la grabación.
- Después pruebe filtros avanzados.
Evento sin reproducción
Revise role record, segmentos, timestamps, permisos y API multimedia.
Live se corta
- Revise RTSP/Wi-Fi.
- Revise go2rtc y candidates/puertos WebRTC.
- Compare main/substream.
