Commit 5f99f44394aeebce6bb86dd91b762d0a4a8b91a8
1 parent
b7a6f373
update
Showing
1 changed file
with
11 additions
and
2 deletions
8.直播云/1.1 获取直播活动信息接口.md
| ... | ... | @@ -34,7 +34,8 @@ HTTP GET |
| 34 | 34 | "hls_url_rate3":"", |
| 35 | 35 | "title":"测试活动", |
| 36 | 36 | "smallImg":"小图图片URL", |
| 37 | - "bigImg":"大图图片URL" | |
| 37 | + "bigImg":"大图图片URL", | |
| 38 | + "views" :[] | |
| 38 | 39 | } |
| 39 | 40 | "message":"请求成功", |
| 40 | 41 | } |
| ... | ... | @@ -48,6 +49,14 @@ HTTP GET |
| 48 | 49 | "title":"测试活动", |
| 49 | 50 | "smallImg":"小图图片URL", |
| 50 | 51 | "bigImg":"大图图片URL", |
| 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":"", | |
| 51 | 60 | "views" :[ |
| 52 | 61 | "mp4_url_rate2":"http://api.cnlive.com/open/api3/play/IPS/liveplay?cid=xinyingshi&sp_id=iqhpk8pl19", |
| 53 | 62 | "mp4_url_rate1":"http://api.cnlive.com/open/api3/play/IPS/liveplay?cid=xinyingshi&sp_id=iqhpk8pl19", |
| ... | ... | @@ -131,7 +140,7 @@ JSON属性说明: 四路播放地址至少一个有效 |
| 131 | 140 | |
| 132 | 141 | 参数需进行加密,示例: |
| 133 | 142 | |
| 134 | -详细签名 http://bj.gitlab.cnlive.com/boss-team/OPEN_API/blob/master/0.%20%E5%85%AC%E5%85%B1%E7%BB%84%E4%BB%B6/1.1%20SHA1%E7%AD%BE%E5%90%8D.md | |
| 143 | +[详细签名]() | |
| 135 | 144 | |
| 136 | 145 | ``` java |
| 137 | 146 | public String getPlayVideo(ModelMap model,HttpServletRequest request) { | ... | ... |