Commit 9f948b93876363ebd6cd5d0ca27d50746e7e9013

Authored by 翁力
1 parent 40620021

add type

8.直播云/1.2 获取直播URL接口.md
@@ -3,7 +3,7 @@ @@ -3,7 +3,7 @@
3 ----- 3 -----
4 #### URL: http://api.cnlive.com/open/api3/play/IPS/liveplay?cid=xinyingshi&sp_id=xxxx 4 #### URL: http://api.cnlive.com/open/api3/play/IPS/liveplay?cid=xinyingshi&sp_id=xxxx
5 ----- 5 -----
6 -#### 接口说明: 返回H5或APP的直播播放地址 6 +#### 接口说明: 返回直播播放地址
7 ----- 7 -----
8 #### 请求方式: HTTP GET 8 #### 请求方式: HTTP GET
9 ----- 9 -----
@@ -12,10 +12,11 @@ @@ -12,10 +12,11 @@
12 #### 请求参数说明: 12 #### 请求参数说明:
13 | 参数名 | 参数类型 | 必选 | 参数说明 | 13 | 参数名 | 参数类型 | 必选 | 参数说明 |
14 | :----------- | :------: | :------: | :------: | 14 | :----------- | :------: | :------: | :------: |
15 -| sp_id | String | true | 应用ID |  
16 -| cid| String | true | 直播频道ID |  
17 -| uid| String | false | 用户标识(uuid_时间戳),不传为0 |  
18 -| sid| String | false | 用户ID,不传为0 | 15 +| sp_id | string | true | 应用ID |
  16 +| cid| string | true | 直播频道ID |
  17 +| uid| string | false | 用户标识(uuid_时间戳),不传为0 |
  18 +| sid| string | false | 用户ID,不传为0 |
  19 +| type | string | false | hls(H5/APP使用),mp4(Flash使用),不传则默认为hls
19 | retry | int | false | 重试次数,从0开始,不断累加,不传为0 | 20 | retry | int | false | 重试次数,从0开始,不断累加,不传为0 |
20 | rate | int | false | 1-流畅,2-标清,3-高清,4-超清,不传为0 | 21 | rate | int | false | 1-流畅,2-标清,3-高清,4-超清,不传为0 |
21 | sign | String | false | APP必须使用,H5不用,签名规则见<a href="http://help.open.cnlive.com/common.html">签名详情</a> | 22 | sign | String | false | APP必须使用,H5不用,签名规则见<a href="http://help.open.cnlive.com/common.html">签名详情</a> |
22 \ No newline at end of file 23 \ No newline at end of file