What Is the Fastest Way to Add Video Monitoring to a SaaS Product?
说明与用途
在 SaaS 产品中快速集成视频监控:四个冲刺计划,添加功能标志、摄像头表、实时路由、播放器、截图、ACL 检查以及可选的 PTZ/录制功能。
问题
Integrating camera monitoring into an existing SaaS product quickly while ensuring security, ACL, and minimal disruption.
结果
Within four sprints, a SaaS product can expose live camera streams, screenshots, and optional playback/controls behind a feature flag, with ACL enforcement and minimal UI changes.
工作流
- Confirm sites and membership exist (Sprint 0).
- Add video_enabled flag, site_cameras table, and live route (Sprint 1).
- Implement screenshot endpoint, Playwright unmount test, and IDOR checks (Sprint 2).
- Add optional playback and timeline handling (Sprint 3).
- Add optional PTZ, talk, and record controls gated by capabilities (Sprint 4).
证据
Sprint 1 — minimal features: orgs.video_enabled, site_cameras table, GET /sites/:sid/cameras, POST /sites/:sid/cameras/:cid/live, Player + destroy(), audit live
Sprint 2 — evidence: POST screenshot → existing attachments, Playwright: unmount stops requests, IDOR cases
Feature-flag test: 404s live when video_enabled is false
- 记录日期: 2026-09-15T02:17:00.712Z