Skip to content

feat(ccapi): 支援持續 multipart Live View - #110

Merged
js051 merged 2 commits into
mainfrom
feat/ccapi-multipart-live-view
Aug 4, 2026
Merged

feat(ccapi): 支援持續 multipart Live View#110
js051 merged 2 commits into
mainfrom
feat/ccapi-multipart-live-view

Conversation

@js051

@js051 js051 commented Aug 4, 2026

Copy link
Copy Markdown
Owner

變更內容

  • 在 Android、iOS 與 PC 直接 CCAPI backend 實作 Canon 持續 multipart JPEG Live View
  • 依同一 API 版本的完整 POST/DELETE Live View 與 GET/DELETE multipart 公告建立能力
  • AUTO 依序嘗試 RTP、multipart、JPEG polling,並保留實際選用來源供 UI 與診斷顯示
  • 加入有界 boundary/header/Content-Length/JPEG 驗證、背景持續排空與最新影格合併
  • 擴充 Simulator、英/繁中來源名稱、官方規格依據與 R6 Mark III 真機驗證步驟

原因與影響

Canon CCAPI 1.3 提供持續 multipart JPEG 串流,可避免每張 JPEG 都建立一次 HTTP 請求。功能完全依相機實際公告啟用,不會因機型名稱或其他 EOS 支援表而猜測能力。R6 Mark III 韌體 1.1.0 的實際 endpoint 仍需真機驗證。

驗證

  • Android testDebugUnitTest lintDebug assembleDebug
  • Bridge ruff 與完整 pytest
  • Simulator ruff 與 32 項 pytest
  • Node 模組測試
  • PC local-video 與 CCAPI Playwright E2E
  • Gitleaks staged 與 pre-push 掃描

Windows 沒有 Swift toolchain;iOS 套件與 App 編譯由此 PR 的 macOS CI 驗證。

@js051
js051 marked this pull request as ready for review August 4, 2026 23:20
@js051
js051 merged commit 669398d into main Aug 4, 2026
9 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant