Commit adc2a01c6a6cf9a8e29e5eb44400bbf17d0755c4
1 parent
534c1dec
点播接口
Showing
2 changed files
with
21 additions
and
0 deletions
01.点播云/内容输出接口.md renamed to 01.点播云/1.1 内容输出接口.md
01.点播云/1.2 获取点播URL接口.md
0 → 100644
| 1 | +### 获取直播URL接口 | |
| 2 | +----- | |
| 3 | +#### URL: http://api.cnlive.com/open/api2/live_ips/liveplayByH5 | |
| 4 | +----- | |
| 5 | +#### 接口说明: 返回直播播放地址(HLS) | |
| 6 | +----- | |
| 7 | +#### 请求方式: HTTP GET | |
| 8 | +----- | |
| 9 | +#### 返回格式: 302 | |
| 10 | +----- | |
| 11 | +#### 请求参数说明: | |
| 12 | +| 参数名 | 参数类型 | 必选 | 参数说明 | | |
| 13 | +| :----------- | :------: | :------: | :------: | | |
| 14 | +| appId | string | true | 应用ID | | |
| 15 | +| channelID| string | true | 直播频道或主播ID | | |
| 16 | +| uid| string | false | 用户标识(uuid_时间戳),不传为0 | | |
| 17 | +| sid| string | false | 用户ID,不传为0 | | |
| 18 | +| retry | int | false | 重试次数,从0开始,不断累加,不传为0 | | |
| 19 | +| rate | int | false | 1-流畅,2-标清,3-高清,4-超清,不传为2,EPG接口会返回实际的码流路数--标清为必须项| | |
| 20 | + | |
| 21 | +#### [页面DEMO](http://open.cnlive.com/demo/live/h5_live_demo.html) | |
| 0 | 22 | \ No newline at end of file | ... | ... |