- 说明
- 获取token
- 获取token
- 设备树
- 设备类
- ai云端算法配置
- 云端系统算法集
- 算法数据统计
- 人员
- 部门
- 告警回调
- 录像管理
- 端侧算法
- 智慧云店
获取直播转码地址
POST
/openApi/device/iotDeviceAddress/broadcast/query
请求参数
Body 参数application/json
deviceId
string | null
设备id
streamType
string | null
必需
示例
{
"deviceId": "string",
"streamType": "string"
}
示例代码
Shell
JavaScript
Java
Swift
Go
PHP
Python
HTTP
C
C#
Objective-C
Ruby
OCaml
Dart
R
请求示例请求示例
Shell
JavaScript
Java
Swift
curl --location --request POST 'https://bcloud.jftechws.com/openApi/device/iotDeviceAddress/broadcast/query' \
--header 'Content-Type: application/json' \
--data-raw '{
"deviceId": "string",
"streamType": "string"
}'
返回响应
🟢200成功
application/json
Body
success
boolean | null
可选
msg
string | null
可选
code
string | null
可选
model
object (OpenApiIotDeviceBroadcastAddressQueryResp)
可选
deviceId
string | null
设备id
openStatus
integer | null
可选
streamType
string | null
可选
url
string | null
高清地址
urlTemplate
integer | null
可选
qualityUrl
string | null
标清地址
qualityUrlTemplate
integer | null
可选
expireTime
string | null
地址过期时间
concurrentNumber
integer | null
地址观看并发人数
attributes
string | null
可选
示例
{
"success": false,
"msg": "",
"code": "",
"model": {
"deviceId": "",
"openStatus": 0,
"streamType": "",
"url": "",
"urlTemplate": 0,
"qualityUrl": "",
"qualityUrlTemplate": 0,
"expireTime": "",
"concurrentNumber": 0
},
"attributes": ""
}