跳到主要内容

模板列表

服务地址

http://api-az-cn.danghongyun.com/rest

请求方法

GET

请求参数

参数说明类型是否必须
accessKey访问接口的accessKeyString必选
actionAPI名称,此接口为 "liveGetTemplates"String必选
versionAPI版本,目前必须为 2.0String必选
signature签名,请参考签名规则String必选
timestampAPI调用时间戳,1970年1月1日以来的毫秒数,如1466488681033String必选
name直播模版名称String可选
type请参考模板类型String可选
name请参考直播类型String可选

响应示例

{
"code": 0,
"message": "operation success",
"result": [{
"id": "abeef1197e4641728d4a837e7d54a759",
"displayName": "vr ultra clear",
"transcodeType": 2,
"videoWidth": 2048,
"videoHeight": 1024,
"videoBitrate": 8000,
"audioBitrate": 64,
"frameRate": 30,
"type": "2",
"userId": null,
"createTime": 10,
"updateTime": null,
"name": "vr ultra clear/8000kbps/2048x1024"
},
{
"id": "e92e9feef23e49f5ababc70d7172b5f8",
"displayName": "2K",
"transcodeType": 3,
"videoWidth": 2560,
"videoHeight": 1440,
"videoBitrate": 4000,
"audioBitrate": 64,
"frameRate": 30,
"type": "2",
"userId": null,
"createTime": 6,
"updateTime": null,
"name": "2K/4000kbps/2560x1440"
},
{
"id": "43ca60d4dc9143bcb7410a4444233e47",
"displayName": "high definition",
"transcodeType": 0,
"videoWidth": 1280,
"videoHeight": 720,
"videoBitrate": 750,
"audioBitrate": 64,
"frameRate": 30,
"type": "2",
"userId": null,
"createTime": 4,
"updateTime": null,
"name": "high definition/750kbps/1280x720"
},
{
"id": "7d9b8e4f1af047b6b336bf6d17adce7c",
"displayName": "source stream",
"transcodeType": 0,
"videoWidth": 0,
"videoHeight": 0,
"videoBitrate": 0,
"audioBitrate": 0,
"frameRate": 0,
"type": "2",
"userId": null,
"createTime": 1,
"updateTime": null,
"name": "PASSTHROUGH"
}],
"success": true
}

响应字段说明

字段说明