Commit e38c75f600ae42a3d3297df383fdfc5f5f4b1cd4
1 parent
eb072d3d
2
Showing
1 changed file
with
15 additions
and
3 deletions
01.点播云/1.0 获取点播信息接口Server.md
| @@ -36,9 +36,9 @@ HTTP GET | @@ -36,9 +36,9 @@ HTTP GET | ||
| 36 | | showFileSize| string | false | 文件大小 | | 36 | | showFileSize| string | false | 文件大小 | |
| 37 | | spid| int | false | 所属sp | | 37 | | spid| int | false | 所属sp | |
| 38 | | institutionName| string | true | 机构名称 | | 38 | | institutionName| string | true | 机构名称 | |
| 39 | -| imginfos| map | false | 图片信息``` {"120*60":"xxxx.jpg"} {"800*600":"xxxx.jpg"} ```| | 39 | +| imginfos| map | false | 图片信息| |
| 40 | | rates | string | ture |清晰度标识,多个用逗号隔开: 流畅版=1,清晰版=2,高清版=3,超高清=4 | | 40 | | rates | string | ture |清晰度标识,多个用逗号隔开: 流畅版=1,清晰版=2,高清版=3,超高清=4 | |
| 41 | -| playUrls| Array | false | 播放url ``` [{"rate":2,"fmt":"hls","url":"http://xxx.m3u8"},{"rate":2,"fmt":"mp4","url":"http://xxx.mp4"}] ```| | 41 | +| playUrls| Array | false | 播放url| |
| 42 | 42 | ||
| 43 | 返回JSON格式的节目元数据信息,json示例如下: | 43 | 返回JSON格式的节目元数据信息,json示例如下: |
| 44 | 44 | ||
| @@ -62,7 +62,19 @@ HTTP GET | @@ -62,7 +62,19 @@ HTTP GET | ||
| 62 | "subTitle":"", | 62 | "subTitle":"", |
| 63 | "tag":"丝绸之路,一带一路,文化交流,中华文化", | 63 | "tag":"丝绸之路,一带一路,文化交流,中华文化", |
| 64 | "videoId":"17cbfede6f074db18d06fdeb170e41c4", | 64 | "videoId":"17cbfede6f074db18d06fdeb170e41c4", |
| 65 | - "videoName":"大道之行一带一路" | 65 | + "videoName":"大道之行一带一路", |
| 66 | + "playUrls":[ | ||
| 67 | + { | ||
| 68 | + "rate":2, | ||
| 69 | + "fmt":"hls", | ||
| 70 | + "url":"http://xxx.m3u8" | ||
| 71 | + }, | ||
| 72 | + { | ||
| 73 | + "rate":2, | ||
| 74 | + "fmt":"mp4", | ||
| 75 | + "url":"http://xxx.mp4" | ||
| 76 | + } | ||
| 77 | + ] | ||
| 66 | }, | 78 | }, |
| 67 | "errorCode":0, | 79 | "errorCode":0, |
| 68 | "errorMessage":"sucess" | 80 | "errorMessage":"sucess" |