API 参考接口列表
上报客户端能力
上报本客户端能显示哪些互动模式的画面(模式和版本)、本地输出是否在跑,以及录音用的开播软件。输出在跑、开始得最晚的客户端是直播间的播出客户端;它显示模式画面后在实时通道发 `mode.ack`。
PUT
application/json- body
What a client says it can do (ADR 0022 §6.2): the modes whose scenes it renders, whether its local output runs, and the streaming app it records for a mode that wants a voice.
audioCapture?AudiocaptureWhether it may record that app
默认值
"unknown"可选值
"granted""denied""unknown"modes?array<>数量
items <= 20output?OutputIts local output to the streaming app runs
默认值
falsestreamingApp?|The streaming app it records, by name; null when none is chosen
Successful Response
curl -X PUT 'https://api.ailive.studio/v1/room/capabilities' \ -H 'Authorization: Bearer <ACCESS_TOKEN>' \ -H 'Content-Type: application/json' \ -d '{}'响应示例
空