rtc 是 AUP 跨设备 primitive,不是 Web Device 的 layout 组件,也不是 Web-only widget。它属于 AUP_PRIMITIVES 中的 18 个名称之一,并出现在每个 target 的 DeviceCaps.primitives map 中(取值为 native、webview、partial 或 unsupported)。
合同
| 字段 | 值 |
|---|---|
| Primitive 名称 | rtc |
| 层级 | AUP 跨设备 primitive(AUP_PRIMITIVES) |
| 公共状态 | unsupported |
| Document 能力 | unsupported |
| 共享 degradation chain | rtc → unsupported |
| 作者入口 | 具备 realtime media 能力的 target 上的 AUP |
| Document renderer / 备注 | Not on document RENDERERS as a native path |
| Showcase 证据 | Not a document sample; interactive runtime only |
何时使用
在授予媒体权限的设备上做实时音视频协作。
何时不要使用
绝不要从静态文档声称 RTC。chain 没有可用的 document fallback。
Document sample
不提供。 共享 chain:rtc → unsupported(显式)。静态文档不得把摄像头/麦克风 UI 模拟成产品能力。
证据锚点
| 项 | 值 |
|---|---|
| 注册表 | packages/aup/src/aup-types.ts · AUP_PRIMITIVES |
| Document caps | providers/runtime/web-device/src/device-caps.ts · DEVICE_CAPS_DOCUMENT |
| Degradation | packages/aup/src/degradation.ts · DEGRADATION_CHAINS |
| 内部矩阵 | docs/aup/capability-matrix.md(内部,不对外路由) |
| Taxonomy hub | Primitive 类型分类与证据 |
| Sample 合同规则 | Live 示例:范围与合同 |