mirror of
https://github.com/BetterCorp/BetterFrame.git
synced 2026-05-26 17:56:34 +00:00
importDiscoveredCamera was hardcoded to type="rtsp", losing ONVIF identity. Camera edit showed RTSP fields, ONVIF event subscription skipped (checks cam_type=="onvif"), re-discovery impossible. Now creates type="onvif" with onvif_host/port/username/password stored on the camera row. Streams still go into camera_streams (unchanged). Bundle ships onvif fields → kiosk subscribes to PullPoint events. Also passes host + port as hidden form fields from discover results page so the add handler has them available. Basic manual camera creation via UI stays rtsp-only (simpler); discovery flow produces onvif type. |
||
|---|---|---|
| .. | ||
| src | ||
| .gitignore | ||
| bsb-tests.json | ||
| package.json | ||
| tsconfig.json | ||