mirror of
https://github.com/BetterCorp/BetterFrame.git
synced 2026-05-27 01:46:35 +00:00
ONVIF cams legitimately have multiple streams (main+sub) stored in camera_streams. Dropping the type gate synthesized a single "main" row for ONVIF cams that lacked rows, hiding the multi-stream design the kiosk's pick_stream relies on (area >= 0.2 → main, else sub). The "(no stream)" symptom is a partial-import bug to chase separately; the bundle fallback is for single-URL RTSP cams only. Also drop the backfill migration that did the same insert at the DB layer. |
||
|---|---|---|
| .. | ||
| db-adapter.ts | ||
| index.ts | ||
| mappers.ts | ||
| migrations.ts | ||
| pg-adapter.ts | ||
| repository.ts | ||
| sqlite-adapter.ts | ||
| util.ts | ||