Loading page...Загружаем страницу...正在加载页面...
AtlasRepo

Add Remote Video Monitoring to Property Management Software

说明与用途

为物业管理软件添加远程视频监控:将摄像头集成为物业范围内的资源,实施 ACL、实时观看、截图和工单附件等 API 与前端集成。

问题

Property managers need to view lobby cameras directly within the existing PMS without switching to a separate app.

结果

Implemented property-scoped live camera access with ACL, live streaming, screenshot capture, and work‑order attachment integration, all within the existing PMS stack.

工作流

  • Create property_cameras table linked to properties
  • Ensure property_managers ACL is clean before adding player
  • Add API endpoints: GET /properties/:pid/cameras, POST /properties/:pid/cameras/:cid/live, POST /properties/:pid/cameras/:cid/screenshot, POST /properties/:pid/cameras/:cid/playback
  • Implement live session start via media.startLive and audit logging
  • Add capability checks for playback, ptz, talk
  • Integrate screenshot upload to work_order_attachments with property_id denormalization
  • Render camera selector and player on property page; dispose on unmount or pagehide
  • Handle mobile pause on background
  • Limit UI to essential cameras (e.g., gate, package room) in v1

证据

I add live security camera video as a property-scoped resource, not as a new product.

来源

property_managers(user_id, property_id, role) is the ACL.

来源

  • 记录日期: 2026-09-15T02:16:22.556Z