Commit 45b800896c5715e78fd451418eefcd2b8a30d2d2

Authored by 翁力
2 parents 6e81cda2 639251df

Merge remote-tracking branch 'origin/master'

8.直播云/1.1 获取直播活动信息接口.md
... ... @@ -22,40 +22,44 @@ HTTP GET
22 22 ``` json
23 23 {
24 24 "errorCode":"0",
25   - "mp4_url_rate2":"http://api.cnlive.com/open/api3/play/IPS/liveplay?cid=xinyingshi&sp_id=iqhpk8pl19",
26   - "mp4_url_rate1":"http://api.cnlive.com/open/api3/play/IPS/liveplay?cid=xinyingshi&sp_id=iqhpk8pl19",
27   - "mp4_url_rate4":"",
28   - "mp4_url_rate3":"",
29   - "status":"1",
30   - "hls_url_rate2":"http://api.cnlive.com/open/api3/play/IPS/liveplay?cid=xinyingshi&sp_id=iqhpk8pl19",
31   - "hls_url_rate1":"http://api.cnlive.com/open/api3/play/IPS/liveplay?cid=xinyingshi&sp_id=iqhpk8pl19",
32   - "hls_url_rate4":"",
33   - "hls_url_rate3":"",
34   - "msg":"请求成功",
35   - "title":"测试活动",
36   - "smallImg":"小图图片URL",
37   - "bigImg":"大图图片URL"
38   -}
39   -```
40   -#### 多路流
41   -``` json
42   -{
43   - "errorCode":"0",
44   - "status":"1",
45   - "msg":"请求成功",
46   - "title":"测试活动",
47   - "smallImg":"小图图片URL",
48   - "bigImg":"大图图片URL",
49   - "views" :[
  25 + "data"{
50 26 "mp4_url_rate2":"http://api.cnlive.com/open/api3/play/IPS/liveplay?cid=xinyingshi&sp_id=iqhpk8pl19",
51 27 "mp4_url_rate1":"http://api.cnlive.com/open/api3/play/IPS/liveplay?cid=xinyingshi&sp_id=iqhpk8pl19",
52 28 "mp4_url_rate4":"",
53 29 "mp4_url_rate3":"",
54   - "hls_url_rate2":"http://api.cnlive.com/open/api3/play/IPS/liveplay?cid=xinyingshi&sp_id=iqhpk8pl19",
  30 + "status":"1",
  31 + "hls_url_rate2":"http://api.cnlive.com/open/api3/play/IPS/liveplay?cid=xinyingshi&sp_id=iqhpk8pl19",
55 32 "hls_url_rate1":"http://api.cnlive.com/open/api3/play/IPS/liveplay?cid=xinyingshi&sp_id=iqhpk8pl19",
56 33 "hls_url_rate4":"",
57 34 "hls_url_rate3":"",
58   - ]
  35 + "title":"测试活动",
  36 + "smallImg":"小图图片URL",
  37 + "bigImg":"大图图片URL"
  38 + }
  39 + "message":"请求成功",
  40 +}
  41 +```
  42 +#### 多路流
  43 +``` json
  44 +{
  45 + "errorCode":"0",
  46 + "data"{
  47 + "status":"1",
  48 + "title":"测试活动",
  49 + "smallImg":"小图图片URL",
  50 + "bigImg":"大图图片URL",
  51 + "views" :[
  52 + "mp4_url_rate2":"http://api.cnlive.com/open/api3/play/IPS/liveplay?cid=xinyingshi&sp_id=iqhpk8pl19",
  53 + "mp4_url_rate1":"http://api.cnlive.com/open/api3/play/IPS/liveplay?cid=xinyingshi&sp_id=iqhpk8pl19",
  54 + "mp4_url_rate4":"",
  55 + "mp4_url_rate3":"",
  56 + "hls_url_rate2":"http://api.cnlive.com/open/api3/play/IPS/liveplay?cid=xinyingshi&sp_id=iqhpk8pl19",
  57 + "hls_url_rate1":"http://api.cnlive.com/open/api3/play/IPS/liveplay?cid=xinyingshi&sp_id=iqhpk8pl19",
  58 + "hls_url_rate4":"",
  59 + "hls_url_rate3":"",
  60 + ]
  61 + }
  62 + "messagae":"请求成功",
59 63 }
60 64 ```
61 65  
... ...