文档

ListLiveRecordFiles - 查询所有录制索引文件

更新时间:

调用ListLiveRecordFiles查询某个时间段内的所有录制索引文件。

调试

您可以在OpenAPI Explorer中直接运行该接口,免去您计算签名的困扰。运行成功后,OpenAPI Explorer可以自动生成SDK代码示例。

授权信息

当前API暂无授权信息透出。

请求参数

名称类型必填描述示例值
EndTimestring

结束时间。与 StartTime 间隔时间不能超过 4 天。格式为:yyyy-MM-ddTHH:mm:ssZ(UTC 时间)。

2017-12-22T08:00:00Z
StartTimestring

开始时间。格式为:yyyy-MM-ddTHH:mm:ssZ(UTC 时间)。

2017-12-21T08:00:01Z
JobIdsarray

任务 ID 列表。

string

录制任务 ID。

9E83D5D0-8D72-5E7D-B61A-****
PageNointeger

当前页码。默认值为 1。

1
PageSizeinteger

每页大小。取值范围:5~30,默认值为 10。

10
SortBystring

排序。取值:

asc(默认值):升序。

desc:降序。

asc
RecordFormatstring

录制文件格式。取值:

m3u8, flv, mp4

m3u8

返回参数

名称类型描述示例值
object

Schema of Response

RequestIdstring

请求 ID。

DE24625C-7C0F-4020-8448-****
PageNolong

分页的页码。

1
SortBystring

排序。

asc
PageSizestring

每页大小。

10
TotalCountstring

符合条件的总个数。

100
Filesobject []

索引文件列表

RecordUrlstring

索引文件地址。

http://****/atestObject****.m3u8
StartTimestring

开始时间。格式为:yyyy-MM-ddTHH:mm:ssZ(UTC 时间)。

2015-12-01T07:36:00Z
EndTimestring

结束时间。格式为:yyyy-MM-ddTHH:mm:ssZ(UTC 时间)。

2015-12-01T07:36:10Z
Durationfloat

录制时长。单位:秒。

100.0
Widthinteger

视频宽。

480
Heightinteger

视频高。

640
CreateTimestring

UTC 格式创建时间。

2016-05-27T09:40:56Z
RecordOutputstring

录制文件的储存相关信息。

{ "Type": "oss", "Endpoint":"oss-cn-shanghai.aliyuncs.com", "Bucket": "test-bucket" }
RecordIdstring

索引文件 ID。

c4d7f0a4-b506-43f9-8de3-07732c3f****
StreamUrlstring

直播流名。

LiveStream***
JobNamestring

录制任务名称。

LiveRecordJob***
Formatstring

录制文件格式。

m3u8
JobIdstring

录制任务 ID。

c4d7f0a4-b506-43f9-8de3-07732c3f****

示例

正常返回示例

JSON格式

{
  "RequestId": "DE24625C-7C0F-4020-8448-****",
  "PageNo": 1,
  "SortBy": "asc",
  "PageSize": "10",
  "TotalCount": "100",
  "Files": [
    {
      "RecordUrl": "http://****/atestObject****.m3u8",
      "StartTime": "2015-12-01T07:36:00Z",
      "EndTime": "2015-12-01T07:36:10Z",
      "Duration": 100,
      "Width": 480,
      "Height": 640,
      "CreateTime": "2016-05-27T09:40:56Z",
      "RecordOutput": "{ \"Type\": \"oss\", \"Endpoint\":\"oss-cn-shanghai.aliyuncs.com\", \"Bucket\": \"test-bucket\" }",
      "RecordId": "c4d7f0a4-b506-43f9-8de3-07732c3f****",
      "StreamUrl": "LiveStream***",
      "JobName": "LiveRecordJob***",
      "Format": "m3u8",
      "JobId": "c4d7f0a4-b506-43f9-8de3-07732c3f****"
    }
  ]
}

错误码

访问错误中心查看更多错误码。

  • 本页导读 (1)
文档反馈