查询录制任务列表

最近更新时间:2020-09-07 16:19:26

我的收藏

1. 接口描述

域名:live.api.qcloud.com
接口名: DescribeRecordList
注意事项:最长可查询2个月内的录制任务

2. 输入参数

参数名称
必选
类型
描述
channelId
String
频道 ID
pageNo
Int
页码,默认为1
pageSize
Int
分页大小,默认为10

3. 输出参数

参数名称
类型
描述
code
Int
错误码,0:成功,其他值:失败
message
String
错误信息
totalCount
Int
总个数
taskSet
Array
任务结果集
文件信息结构如下:
参数名称
类型
描述
id
Int
任务 ID
startTime
String
分片起始时间
endTime
String
分片结束时间
status
Int
任务状态,0-未启动,1-启动中,2-执行完,3-异常等
count
Int
已生成分片数

4. 示例

输入1
http://domain/v2/index.php?Action=DescribeRecordList&channelId=16093104850681751595&pageSize=10&pageNo=1&公共请求参数
输出1
{

"code": 0,
"message": "",
"totalCount": 2,
"taskSet ": [
{
          "id": "16093104850681751583",
"startTime": "7",
"endTime": "720",
"status": "0"
},
{
"id": "16093104850681751599",
"startTime": "8",
"endTime": "1806",
"status ": "2",
"count ":"5"
}
]

}