dragonflight/services/mam-api/src/routes
Claude 858c9f7b97 fix(deltacast-bridge): call VHD_SetBiDirCfg before board open + set channel SDI mode
ROOT CAUSE of 'connecting' hangs and intermittent port failures:
The DELTA-12G-e-h 8c is a bidirectional card. Without calling
VHD_SetBiDirCfg(board_index, VHD_BIDIR_80) before streaming, the
board remains in its default bi-dir config (likely 4RX/4TX) — so
RX stream opens fail with VHDERR_RESOURCEUNAVAILABLE on channels
configured as TX, causing random 'connecting' hangs per the SDK docs.

Per SDK Tools.cpp SetNbChannels() pattern:
1. Open temporary board handle
2. Check IS_BIDIR + channel counts
3. Call VHD_SetBiDirCfg(board_index, VHD_BIDIR_80) for 8ch bidir
4. Close temp handle, then open real board handle for streaming

Also add VHD_SetChannelProperty(VHD_CHANNEL_MODE_SDI) for ASI-type
channels per Sample_RX.cpp — required for 12G-ASI/3G-ASI channel
types to correctly detect incoming video standard.

🤖 Generated with Claude Code
2026-06-02 11:23:39 +00:00
..
ampp.js feat: AMPP folder sync integration — pre-create folder hierarchy on upload, expose lookup endpoint for Script Task: ampp.js 2026-04-18 13:42:08 -04:00
assets.js fix(growing+gui): growing file = MXF XDCAM HD422 (Premiere-growable) + GUI fixes 2026-05-31 22:13:01 -04:00
auth.js fix(mam-api): harden TOTP login flow + tighten Google domain check 2026-05-30 12:52:53 +00:00
bins.js fix(mam-api): close cross-project authz gaps in assets/bins/jobs/upload 2026-05-30 12:52:29 +00:00
capture.js feat(mam-api): finish per-project authz on the deferred routers 2026-05-30 03:48:02 +00:00
cluster.js fix/feat: recorder finalize-grace + codec validation, cluster mem/version, library download 2026-05-31 18:34:36 -04:00
comments.js feat(mam-api): finish per-project authz on the deferred routers 2026-05-30 03:48:02 +00:00
groups.js rip out entire auth/login flow 2026-05-27 03:39:58 +00:00
imports.js feat(mam-api): finish per-project authz on the deferred routers 2026-05-30 03:48:02 +00:00
jobs.js feat(jobs): surface playout-stage queue in Jobs screen 2026-05-31 12:06:08 -04:00
metrics.js rip out entire auth/login flow 2026-05-27 03:39:58 +00:00
playout.js feat(playout): redesigned MCR screen + SCTE-35 end-to-end 2026-05-31 19:58:02 -04:00
projects.js feat(mam-api,web-ui): per-project RBAC (v2 auth layer) 2026-05-30 02:37:36 +00:00
recorders.js fix(deltacast-bridge): call VHD_SetBiDirCfg before board open + set channel SDI mode 2026-06-02 11:23:39 +00:00
schedules.js rip out entire auth/login flow 2026-05-27 03:39:58 +00:00
sdk.js rip out entire auth/login flow 2026-05-27 03:39:58 +00:00
sequences.js feat(mam-api): finish per-project authz on the deferred routers 2026-05-30 03:48:02 +00:00
settings.js feat(settings/growing): storage warning, SMB auth + CIFS mount, per-recorder growing 2026-05-31 14:50:36 -04:00
storage.js feat(settings/growing): storage warning, SMB auth + CIFS mount, per-recorder growing 2026-05-31 14:50:36 -04:00
system.js rip out entire auth/login flow 2026-05-27 03:39:58 +00:00
tokens.js feat(auth): bound-hostname tokens for node-agent + return role from /me 2026-05-27 19:27:59 -04:00
upload.js fix(mam-api): close cross-project authz gaps in assets/bins/jobs/upload 2026-05-30 12:52:29 +00:00
users.js feat(auth-ui): interactive permissions matrix, admin 2FA reset, Downloads button 2026-05-30 15:59:27 +00:00