Commit 2f5260b5ee55f1df84550673e9312c98cdc676e8
1 parent
29960c73
修复返回值
Showing
1 changed file
with
5 additions
and
11 deletions
02.直播云/2.1 获取推流直播播放地址APP.md
| 1 | -### 获取推流直播播放地址(ugc) | |
| 1 | +### 获取推流直播播放地址 | |
| 2 | 2 | |
| 3 | 3 | ----- |
| 4 | -#### 接口说明: | |
| 4 | +#### 接口说明: app获取推流播放地址 | |
| 5 | 5 | |
| 6 | 6 | ----- |
| 7 | 7 | #### 请求方式: HTTP GET |
| 8 | 8 | ----- |
| 9 | -#### 返回格式: ugc推流:200、pgc推流:302 | |
| 9 | +#### 返回格式: 302 | |
| 10 | 10 | ----- |
| 11 | 11 | #### 请求参数说明: |
| 12 | 12 | | 参数名 | 参数类型 | 必选 | 参数说明 | |
| ... | ... | @@ -18,12 +18,6 @@ |
| 18 | 18 | |
| 19 | 19 | |
| 20 | 20 | #### 返回结果 json |
| 21 | -```json | |
| 22 | - { | |
| 23 | - "errorMessage":"成功", | |
| 24 | - "data":{ | |
| 25 | - "location":"rtmp://wsrtmp4.live.cnlive.com/cdn/xinyingshi?wsSecret=f10722a1a2ffd198772b2ac8cf1c0afb&wsTime=57a3f066" | |
| 26 | - }, | |
| 27 | - "errorCode":"0" | |
| 28 | - } | |
| 21 | +``` | |
| 22 | +302 跳转,可以在 http 的 location中获取 | |
| 29 | 23 | ``` |
| 30 | 24 | \ No newline at end of file | ... | ... |