Commit 396bd4fd29b4a38edfe17fc83df7ffd69ebfe334

Authored by 刘炯
1 parent aa62d0dc

3

02.直播云/1.01 播放器获取EPG信息接口.md
1 1 /*
2   -Title: 1.01 播放器获取播信息接口
  2 +Title: 1.01 播放器获取播信息接口
3 3 */
4 4  
5 5 ### 接口描述 ###
6 6  
7 7  
8 8 ### 接口地址 ###
9   -http://api.cnlive.com/open/api2/vod_epg/getVodInfo4Player
  9 +http://api.cnlive.com/open/api2/vod_epg/getChannelInfo4Player
10 10  
11 11 ### 接口协议 ###
12 12 HTTP GET
... ... @@ -15,11 +15,11 @@ HTTP GET
15 15 |参数名| 参数类型 | 必选 | 参数说明 |
16 16 |:----- | :------: | :------: | :------: |
17 17 |appId| string | true | 应用ID |
18   -|vId| string | true | 点播节目标识(直播回放的vId就是创建直播活动时的activityId) |
  18 +|channelId| string | true | 直播频道(主播)ID |
19 19 |uid| string | false | 用户标识(uuid_时间戳) |
20 20 |sid| String | false | 用户ID |
21 21 |retry| int | false | 重试次数,在0~4之间累加 |
22   -|isHLS| int | false | 0:mp4流,1:hls流 |
  22 +|isHLS| int | false | 0:rtmp流,1:hls流 |
23 23  
24 24 ### 返回值 ###
25 25  
... ... @@ -27,11 +27,8 @@ HTTP GET
27 27 | :-----------| :------: | :------: | :------: |
28 28 | errorCode| int | true | 错误类型号 |
29 29 | errorMessage| string | true | 错误信息 |
30   -| title| string | true | 节目标题 |
31   -| subTitle| string | false | 节目副标题 |
32   -| description| string | false | 节目描述 |
33   -| status| string | true | 节目状态,1:上线,2:下线 |
34   -| vId| string | true | 节目的唯一标识 |
  30 +| title| string | true | 频道名称 |
  31 +| channelId| string | true | 节目的唯一标识 |
35 32 | videoUrl_1 | string | false |播放地址 流畅版 |
36 33 | videoUrl_2 | string | true |播放地址 清晰版 |
37 34 | videoUrl_3 | string | false |播放地址 高清版 |
... ... @@ -43,11 +40,8 @@ HTTP GET
43 40 {
44 41 "errorMessage":"请求成功",
45 42 "data":{
46   - "status":"1",
47   - "vId":"174e6c5f3d9e4ddeb739feed1906fa11",
48   - "subTitle":"BTOB对粉丝甜喊:我想你们了",
  43 + "channelId":"*********",
49 44 "title":"BTOB甜喊:我想你们了",
50   - "description":"@TV娱乐前线:韩国男团BTOB近日在台北国际会议中心举行演唱会。",
51 45 "videoUrl_1":"*****",
52 46 "videoUrl_2":"*****",
53 47 "videoUrl_3":"*****",
... ...