fix: 完善 RK3588 HDMI RX 信号检测与自动恢复

- 统一使用 QUERY_DV_TIMINGS 判断 HDMI RX 输入状态
  - 增加 source-following 设备状态 API 与前端只读展示
  - 支持长时间无信号后的 MJPEG/WebRTC 自动恢复
  - 修复模式切换时采集设备尚未释放导致的 EBUSY
  - 取消陈旧 WebRTC 重连并统一采集恢复策略
  - 移除视频输入状态区域的冗余标题
This commit is contained in:
mofeng-git
2026-07-30 19:41:44 +08:00
parent 971c263bf8
commit 9fb23476ac
36 changed files with 1883 additions and 1492 deletions

View File

@@ -62,6 +62,7 @@ pub fn create_router(state: Arc<AppState>) -> Router {
)
.route("/auth/totp/disable", post(handlers::disable_totp))
.route("/devices", get(handlers::list_devices))
.route("/video/input-status", get(handlers::video_input_status))
// WebSocket endpoint for real-time events
.route("/ws", any(ws_handler))
// Stream control endpoints