使用手冊

除錯與相容性

診斷 authentication、transport、signaling、upload、playback 與 version 問題。

Symptom 常見原因 處理方式
TLS/hostname failure Base URL、CA、clock 或 proxy 錯誤 驗證 endpoint、chain、hostname 與 system time
401 Credential 遺失或過期 Refresh token 或修正 certificate selection
403 Permission/product capability 不足 檢查 identity、ownership 與 capability
404 錯誤或已刪除的 device/clip Refresh state
Signaling timeout/offline Device owner transport 不在線 顯示 terminal state;不可 fan-out 或切到非 owner transport
410 upload 使用 legacy route 改用 authorize、presigned PUT、complete 與 status

Presigned PUT failure 常見於 signed header 被改動、content length 錯誤、token 洩漏到 object storage、URL 過期、early EOF 或 ciphertext hash mismatch。PUT 未成功不可 complete。Playback URL 過期時建立新 session;encrypted clip 必須同時提供 wrapped clip key 與 ephemeral public key。

Support evidence 可包含 SDK/server/toolchain version、operation、stable status、HTTP status、sanitized correlation ID 與 reproduction step。不可附上 token、private key、presigned URL、wrapped key 或 customer media。用 manifest 比對 SDK commit 與文件版本。

其他手冊章節

繼續閱讀相關手冊章節。

SDK 總覽

選擇 package 並理解支援邊界。

開啟章節

開始使用

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

開啟章節

認證與安全

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

開啟章節

生命週期與錯誤

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

開啟章節

能力工作流

整合 provisioning、device、telemetry、OTA、command 與 signaling。

開啟章節

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。

開啟章節