使用手册

能力工作流

使用 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 与版本问题。

开启章節