连接hive

请求地址:https://iontest1.avatarworld.cn/cloudSevenApi/

初始化 hive

地址:cell/init

请求方式:POST

请求类型:application/json

请求参数:

名称 类型 必填 描述 示例值
terminalNo string 终端编号 202206230000100303
product string 应用ID YXQ
config string 设置

config 参数

名称 类型 必填 描述 示例值
aarJson object 接收流设置 {}
appId string 应用id cn.deepscience.ionpoc
fps number 传输帧数 30
screenMode number 显示模式[0:横屏 1:竖屏] 0
dpiWidth number 宽度 1920
dpiHeight number 高度 1080
videoCodecType string 视频编码 "H264"
appJson object 数字人设置 {}
type number 数据类型:
0:初始化
1:发送消息
2:滑动(废弃)
3:替换数据(废弃)
4:设置形象
5:相机类型
6:设置尺寸
7:设置动作
0
roleIndex number 虚拟人形象编号 1
actionStyle number 虚拟人动作编号 1
// config 设置示例
"{
  "aarJson":
  {
    "appId": "cn.deepscience.ionpoc",
    "fps": 30,
    "screenMode": 0,
    "dpiWidth": 1920,
    "dpiHeight": 1080,
    "videoCodecType": "H264"
  },
  "appJson":"
  {
    \"type\":0,
    \"roleIndex\":1,
    \"actionStyle\":3"
  }
}"

返回参数:

名称 类型 描述 示例值
code number 响应码 200
data ▼ object 返回数据
   deviceName string 设备id 3492508277675479
   roomId string 房间id YXQ-202206232022062300001003
03000001-16578802507758596
message string 返回消息 操作成功

返回示例:

{
    "code": 0,
    "message": ""
}

results matching ""

    No results matching ""