mirror of
https://github.com/BetterCorp/BetterFrame.git
synced 2026-05-26 17:56:34 +00:00
Was using consumer api.hik-connect.com (wrong API). Rewritten to use HikCentral Connect enterprise API per vendor docs: - Auth: POST /api/hccgw/platform/v1/token/get with appKey + secretKey - Cameras: POST /api/hccgw/resource/v1/areas/cameras/get (paginated) - Live view: POST /api/hccgw/video/v1/live/address/get → RTMP URL - Credential fields: app_key (AK), secret_key (SK), region - Region-specific server addresses (eu/us/sg/sa/ru) - Token response returns areaDomain for subsequent calls - RTMP protocol=3, quality=1 (HD), expireTime=86400 (24h) Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com> |
||
|---|---|---|
| .. | ||
| src | ||
| .gitignore | ||
| bsb-tests.json | ||
| package.json | ||
| tsconfig.json | ||