点播列表

API 地址

api.yun.vhall.com/api/v1/record/live-record

描述

按当前传入的直播房间ID (room_id),获取此房间下的点播列表

入参

关于公共请求参数详细内容,请参考 公共请求参数

参数 类型 是否必选 含义
room_id int 直播房间ID
status int 回放生成状态 0 全部, 1成功, 2失败 , 默认 0
start_time date 查询开始时间,格式为:2017/01/01
end_time date 查询结束时间,默认为当前时间,格式为:2017/01/01

出参

参数 类型 含义
record_id string 点播ID
app_id string app_id
name string 点播名称
duration int 点播时长 (单位为 秒)
storage int 点播占用空间 (单位为 KB)
created_time string 创建时间

错误码

错误码 类型 含义
20002 int 房间查询为空
30001 int 不是当前房间拥有者
10020 int 开始时间不能为空
40004 int 时间类型不正确

响应格式

{
    "code":200,
    "msg":"",
    "data":[
        {
            "record_id":"2b8ecbd0",
            "app_id":"971990b7",
            "name":"lss_fee7b3bd 2017-12-27 23:53:54",
            "duration":4838,
            "storage":"136320",
            "created_time":"2017-12-27 23:53:54"
        },
        {
            "record_id":"c2ba7393",
            "app_id":"971990b7",
            "name":"lss_fa225532 2018-07-17 01:18:22",
            "duration":192,
            "storage":"21462",
            "created_time":"2018-07-17 01:18:22"
        }
    ]
}