使用手冊

能力工作流

使用 SDK 整合 provisioning、device operation、telemetry、firmware、command 與 WebRTC signaling。

Provisioning、device 與 OTA

Account Manager 負責 product claim、account binding 與 readiness;Video Cloud 負責 video-device activation 與 runtime state。使用 SDK helper 並以 bounded deadline 查詢 readiness,不可由 product app 呼叫 service-internal activation route。

呈現控制項前先讀取 device 與 product capability。Command 的 HTTP acceptance 與 asynchronous device result 應分開處理並使用 correlation ID。Telemetry/log 必須 typed 且 redacted。Firmware SDK 提供 campaign、rollout、report 與 cancellation vocabulary,但 application 仍負責 rollout policy、approval、signature verification 與 restart recovery。

Video Cloud 權責

Layer 提供內容 不負責
Cloud HTTPS signaling、current-owner MQTT/WebSocket delivery、TURN credential、session state Live media frame 與 renderer
RTK SDK Authentication、ICE、offer/answer/close、error 與 clip workflow 完整 peer connection/media engine
Product app Platform WebRTC、renderer、audio policy 與 UX lifecycle Device camera/codec
Device SDK/firmware Offer、answer、camera/audio track 與 resource limit Product app UI

RTK SDK 會交換 offer、answer、ICE 與 session lifecycle。Product app 不需自行建立 signaling backend,但仍需將 RTK SDK session data 接到 platform WebRTC/media component。Stored-video playback 是獨立 HTTP workflow。

其他手冊章節

繼續閱讀相關手冊章節。

SDK 總覽

選擇 package 並理解支援邊界。

開啟章節

開始使用

安裝 SDK、設定 client 並完成第一次 request。

開啟章節

認證與安全

安全處理 token、PKI、TLS、key 與 media。

開啟章節

生命週期與錯誤

處理 timeout、retry、cancel、callback 與 shutdown。

開啟章節

Video Cloud 工作流

整合 Live WebRTC signaling 與 encrypted stored video。

開啟章節

Native C/C++ SDK

使用 stable C ABI、C++ wrapper、transport 與 streaming upload。

開啟章節

Android Kotlin SDK

使用 coroutine、signaling、Media3 與 secure key provider。

開啟章節

iOS Swift SDK

使用 async API、signaling、AVPlayer、Keychain 與 Secure Enclave。

開啟章節

JavaScript/TypeScript SDK

在 browser 與 Node.js 整合 typed ESM package。

開啟章節

Go SDK

用 pure Go client 整合 device、tool 與 automation。

開啟章節

FreeRTOS/Pro2 SDK

整合 board、transport、media 與 WebRTC answerer adapter。

開啟章節

Sample applications

正確使用 Android、iOS、Web、Linux 與 Pro2 sample。

開啟章節

除錯與相容性

診斷認證、transport、upload、playback 與版本問題。

開啟章節