Commit 0421d0111c87f16fa27a6941aed16719f379f201

Authored by 刘炯
1 parent 032f6a0c

update

8.直播云/1.1 获取直播活动信息接口.md
... ... @@ -21,7 +21,7 @@ HTTP GET
21 21  
22 22 ``` json
23 23 {
24   - "ret":"0",
  24 + "errorCode":"0",
25 25 "mp4_url_rate2":"http://api.cnlive.com/open/api3/play/IPS/liveplay?cid=xinyingshi&sp_id=iqhpk8pl19",
26 26 "mp4_url_rate1":"http://api.cnlive.com/open/api3/play/IPS/liveplay?cid=xinyingshi&sp_id=iqhpk8pl19",
27 27 "mp4_url_rate4":"",
... ... @@ -37,6 +37,27 @@ HTTP GET
37 37 "bigImg":"大图图片URL"
38 38 }
39 39 ```
  40 +#### 多路流
  41 +``` json
  42 +{
  43 + "errorCode":"0",
  44 + "status":"1",
  45 + "msg":"请求成功",
  46 + "title":"测试活动",
  47 + "smallImg":"小图图片URL",
  48 + "bigImg":"大图图片URL",
  49 + "views" :[
  50 + "mp4_url_rate2":"http://api.cnlive.com/open/api3/play/IPS/liveplay?cid=xinyingshi&sp_id=iqhpk8pl19",
  51 + "mp4_url_rate1":"http://api.cnlive.com/open/api3/play/IPS/liveplay?cid=xinyingshi&sp_id=iqhpk8pl19",
  52 + "mp4_url_rate4":"",
  53 + "mp4_url_rate3":"",
  54 + "hls_url_rate2":"http://api.cnlive.com/open/api3/play/IPS/liveplay?cid=xinyingshi&sp_id=iqhpk8pl19",
  55 + "hls_url_rate1":"http://api.cnlive.com/open/api3/play/IPS/liveplay?cid=xinyingshi&sp_id=iqhpk8pl19",
  56 + "hls_url_rate4":"",
  57 + "hls_url_rate3":"",
  58 + ]
  59 +}
  60 +```
40 61  
41 62 JSON属性说明: 四路播放地址至少一个有效
42 63  
... ...