Commit 771920b8abec490fb0c960bcb55b5bdd139ee024
1 parent
95eb989e
接口文档
Showing
3 changed files
with
44 additions
and
0 deletions
8.直播云/1.2 获取直播URL接口.md renamed to 8.直播云/1.2 获取flash直播URL接口.md
8.直播云/1.8 获取APP直播URL接口.md
0 → 100644
| 1 | +### 获取直播URL接口 | ||
| 2 | +----- | ||
| 3 | +#### URL: http://api.cnlive.com/open/api3/play/IPS/liveplay?cid=xinyingshi&sp_id=xxxx | ||
| 4 | +----- | ||
| 5 | +#### 接口说明: 返回直播播放地址 | ||
| 6 | +----- | ||
| 7 | +#### 请求方式: HTTP GET | ||
| 8 | +----- | ||
| 9 | +#### 返回格式: 302 | ||
| 10 | +----- | ||
| 11 | +#### 请求参数说明: | ||
| 12 | +| 参数名 | 参数类型 | 必选 | 参数说明 | | ||
| 13 | +| :----------- | :------: | :------: | :------: | | ||
| 14 | +| sp_id | string | true | 应用ID | | ||
| 15 | +| cid| string | true | 直播频道或主播ID | | ||
| 16 | +| uid| string | false | 用户标识(uuid_时间戳),不传为0 | | ||
| 17 | +| sid| string | false | 用户ID,不传为0 | | ||
| 18 | +| isHLS | int | false | 0(FLV/MP4流),1(HLS流),不传则默认为1 | ||
| 19 | +| responseBy200 | int | false | 0(http 302),1(http 200),不传则默认为0 | ||
| 20 | +| retry | int | false | 重试次数,从0开始,不断累加,不传为0 | | ||
| 21 | +| rate | int | false | 1-流畅,2-标清,3-高清,4-超清,不传为2,EPG接口会返回实际的码流路数--标清为必须项| | ||
| 22 | +| sign | String | false | APP必须使用,H5不用,签名规则见<a href="http://help.open.cnlive.com/common.html">签名详情</a> | | ||
| 0 | \ No newline at end of file | 23 | \ No newline at end of file |
8.直播云/1.9 获取H5直播URL接口.md
0 → 100644
| 1 | +### 获取直播URL接口 | ||
| 2 | +----- | ||
| 3 | +#### URL: http://api.cnlive.com/open/api3/play/IPS/liveplay?cid=xinyingshi&sp_id=xxxx | ||
| 4 | +----- | ||
| 5 | +#### 接口说明: 返回直播播放地址 | ||
| 6 | +----- | ||
| 7 | +#### 请求方式: HTTP GET | ||
| 8 | +----- | ||
| 9 | +#### 返回格式: 302 | ||
| 10 | +----- | ||
| 11 | +#### 请求参数说明: | ||
| 12 | +| 参数名 | 参数类型 | 必选 | 参数说明 | | ||
| 13 | +| :----------- | :------: | :------: | :------: | | ||
| 14 | +| sp_id | string | true | 应用ID | | ||
| 15 | +| cid| string | true | 直播频道或主播ID | | ||
| 16 | +| uid| string | false | 用户标识(uuid_时间戳),不传为0 | | ||
| 17 | +| sid| string | false | 用户ID,不传为0 | | ||
| 18 | +| isHLS | int | false | 0(FLV/MP4流),1(HLS流),不传则默认为1 | ||
| 19 | +| responseBy200 | int | false | 0(http 302),1(http 200),不传则默认为0 | ||
| 20 | +| retry | int | false | 重试次数,从0开始,不断累加,不传为0 | | ||
| 21 | +| rate | int | false | 1-流畅,2-标清,3-高清,4-超清,不传为2,EPG接口会返回实际的码流路数--标清为必须项| | ||
| 22 | +| sign | String | false | APP必须使用,H5不用,签名规则见<a href="http://help.open.cnlive.com/common.html">签名详情</a> | | ||
| 0 | \ No newline at end of file | 23 | \ No newline at end of file |