获取房间的录制件列表

Example

POST getrecordlist

https://global.talk-cloud.net/WebAPI/getrecordlist

参数

参数名 是否必填 类型 说明
key String 企业Key
serial String 房间编号:选填(该字段和thirdroomid必须至少填写一个)
thirdroomid String 用户自定义房间号:选填(该字段和serial必须至少填写一个)如果用户创建房间时自定义了房间号,可使用此字段
starttime Int 开始时间 (时间戳,精确到秒), 例:1429242959
endtime Int 结束时间 (时间戳,精确到秒), 例:1429242959
recordtype Int 返回录制件类型(0:常规,1:mp4 8:合并mp4),默认只返回常规
参数名 类型 说明
recordlist.recordid String 录制件ID
recordlist.serial String 房间号
recordlist.recordtitle String 录制标题 移动端播放需要
recordlist.starttime String 开始时间
recordlist.duration_ms Int 时长(毫秒)
recordlist.size String 录制件大小
recordlist.webhost String 访问域名
recordlist.recordpath String 录制件路径 移动端播放需要
recordlist.playpath String 常规播放地址
recordlist.https_playpath String https常规播放地址
recordlist.playpath_mp4 String MP4播放地址
recordlist.https_playpath_mp4 String httpsMP4播放地址
recordlist.playpath_m4a String M4A播放地址
recordlist.https_playpath_m4a String httpsM4A播放地址
recordlist.videoplayback_mp4 String 视频播放地址
recordlist.videoplayback_m4a String 音频播放地址
备注
- 更多返回错误代码请看首页的错误代码描述

返回示例

 1
 2
 3
 4
 5
 6
 7
 8
 9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
{
    "result": 0,
    "recordlist": [
        {
            "recordid": "10108013994234561603071801rtvsdgju",
            "serial": "10044277385",
            "recordtitle": "1603071800847",
            "starttime": "1603071801",
            "duration_ms": 1342,
            "size": "1368886",
            "webhost": "https://IP地址:端口号/",
            "recordpath": "/700ef742-f37a-4932-a85c-be5e4dcf09bf-1399423456/",
            "playpath": "http://IP地址:端口号/replay/1004477385/10006/1543565779986/",
            "https_playpath": "https://IP地址:端口号/replay/1004477385/10006/1543565779986/",
            "playpath_mp4": "http://IP地址:端口号/700ef742-f37a-4932-a85c-be5e4dcf09bf-1399423456/record.mp4",
            "https_playpath_mp4": "https://IP地址:端口号/700ef742-f37a-4932-a85c-be5e4dcf09bf-1399423456/record.mp4",
            "playpath_m4a": "",
            "https_playpath_m4a": "",
            "videoplayback_m4a": "",
            "videoplayback_mp4": "https://IP地址:端口号//media/1399423456/101080/1603071800847/1/"
        }
    ]
}

© 2016-2023 北京拓课网络科技有限公司 版权所有  京ICP备17018423号-1 京公网安备11010502043461号