云手机服务 KOOPHONE-租户实例串流前获取设备的device_token:响应示例

时间:2024-04-19 15:30:26

响应示例

状态码: 200

实例鉴权接口返回设备信息

{
  "data" : {
    "resource" : {
      "sdk" : {
        "internal" : {
          "address" : null,
          "aport" : null,
          "atype" : null,
          "address_ipv6" : null
        },
        "external" : {
          "address" : "10.83.71.187",
          "aport" : 10030,
          "atype" : 1,
          "address_ipv6" : null
        }
      },
      "rtc" : {
        "ice_signaling" : {
          "signaling_url" : "http://100.93.2.248:18082",
          "expired_time" : null,
          "ice_servers" : [ ]
        }
      },
      "device_id" : "7b0cd026df8d495b8a65d628d7bec433",
      "kp_id" : "Q39YyZvI"
    },
    "device_token" : "dee5081f40c83ddea3ded91c387351e9"
  },
  "error_code" : "0",
  "error_msg" : "ok"
}

状态码: 400

请求错误

{
  "error_code" : "string",
  "error_msg" : "string"
}

状态码: 500

内部错误

{
  "error_code" : "string",
  "error_msg" : "string"
}
support.huaweicloud.com/api-koophone/instanceAuth.html