400-881-9892

文档中心

官方文档,可查阅产品介绍、快速入门、用户指南、开发指南、API参考、SDK参考、帮助等信息。

文档中心 互动课堂

获取房间的录制件

Example

请求方式 POST

https://global.talk-cloud.net/api/record/v1/getData

参数名 必选 类型 说明
Content-Type 是 string application/json;
Tk-authkey 是 string 企业Key
参数名 是否必选 类型 说明
serial 否 String 教室号
thirdroomid 否 String 第三方教室号:和serial二选一必填
starttime 否 int 开始时间戳
endtime 否 int 结束时间戳
recordTypes 否 array 录制件类型 0常规、5mp4、6微录课、8合并mp4,默认所有
参数名称 类型 描述
result int 0成功,其他失败
data.recordid String 录制件ID
data.serial String 房间号
data.recordtitle String 录制标题 移动端播放需要
data.starttime String 开始时间
data.type String 录制件类型:0常规、5mp4
data.duration String 时长:type=0是常规,单位毫秒,type=5是mp4,单位秒
data.size String 录制件大小
data.webhost String 访问域名
data.recordpath String 录制件路径 移动端播放需要
data.playpath String 常规播放地址
data.https_playpath String https常规播放地址
data.playpath_mp4 String MP4播放地址
data.https_playpath_mp4 String httpsMP4播放地址
data.playpath_m4a String M4A播放地址
data.https_playpath_m4a String httpsM4A播放地址
data.videoplayback_mp4 String 视频播放地址
data.videoplayback_m4a String 音频播放地址
data.state String 状态(0正常、10归档排队中、11归档中、12归档完成、13归档恢复中)
data.duration_ms Int 时长(单位毫秒)

返回示例

 1
 2
 3
 4
 5
 6
 7
 8
 9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
{
  "result": 0,
  "data": [
    {
      "recordid": "1078518041386561706582706fpxrookw",
      "companyid": "10785",
      "serial": "1804138656",
      "recordtitle": "1706582705533",
      "recordpath": "/c63ea847-af53-4921-8a27-c30d660251b5-1804138656/",
      "starttime": "1706582706",
      "duration": "2160067",
      "size": "636732310",
      "type": "0",
      "media_type": "0",
      "state": "0",
      "webhost": "https://recorddemo.talk-cloud.net",
      "playpath": "https://localhost/replay/1804138656/10785/1706582705533/",
      "https_playpath": "https://localhost/replay/1804138656/10785/1706582705533/",
      "playpath_mp4": "",
      "https_playpath_mp4": "",
      "playpath_m4a": "",
      "https_playpath_m4a": "",
      "videoplayback_m4a": "",
      "videoplayback_mp4": "",
      "mp3url": "",
      "mp4url": "",
      "duration_ms": 2160067
    }
  ],
  "msg": ""
}