行业视频管理服务 IVM-【旧】批量获取设备实况播放地址:响应示例

时间:2024-09-11 17:17:49

响应示例

状态码: 200

OK

{
  "fail_num": 0,
  "channels": [
    {
      "device_id": "952352LWXT***",
      "channel_id": "0",
      "live_url": "jvmp://123.123.*.*:***/live/952352LWXT***?token=...",
      "result": {
        "code": "IVM.0",
        "msg": "Success"
      }
    },
    {
      "device_id": "952352DJNR***",
      "channel_id": "0",
      "live_url": "http://123.123.*.*:***/live/live.m3u8?token=...&device_id=952352DJNR***&channel_id=0&stream_type=0&forbid_audio=1",
      "result": {
        "code": "IVM.0",
        "msg": "Success"
      }
    },
    {
      "device_id": "952352DJNR***",
      "channel_id": "0",
      "live_url": "https://123.123.*.*:***/live/live.m3u8?token=...&device_id=952352DJNR***&channel_id=0&stream_type=0",
      "result": {
        "code": "IVM.0",
        "msg": "Success"
      }
    }
  ],
  "request_id": "0e3515f7-4c5e-497f-abb8-4541d6963dd2"
}
support.huaweicloud.com/api-ivm/ivm_03_0143.html