Skip to content

Commit

Permalink
online: 增加录制视频描述
Browse files Browse the repository at this point in the history
  • Loading branch information
zhouyuan63 committed Mar 21, 2024
1 parent a84a76d commit 8bfede6
Showing 1 changed file with 11 additions and 0 deletions.
11 changes: 11 additions & 0 deletions docs/guide/api/httpApi.md
Original file line number Diff line number Diff line change
Expand Up @@ -23,6 +23,7 @@
| hosts | Map || host信息 `{"域名":"解析IP地址"}`|
| cookies | [Cookie](https://dqa.jd.com/YinTao/guide/data/cookie.html)[] || 可接收cookie数组,用于初始化配置 |
| remoteReport | object || 远程执行需要上报的地址|
| audio | Audio || 当需要录制视频时传递,默认不开启视频录制|

remoteReport 类型:object:
| 名称 | 类型 | 默认值 | 说明 |
Expand All @@ -32,6 +33,16 @@
| image | string || 远程上传图片地址 |
| trace | string || 远程上传追踪地址,支持本地路径以及http地址。[问题追踪](https://dqa.jd.com/YinTao/guide/course/trace.html) |

Audio 类型:object:
| 名称 | 类型 | 默认值 | 说明 |
| -------- | -------- | -------- | -------- |
| url | string || 视频存储地址,远程执行时只支持http远程上报地址 |
| size | Object || 调整录制时的分辨率 |
| -width | Object || 录制的宽度 |
| -heightt | Object || 录制的高度 |

当开始录制时,不要关闭page,否则将丢失关闭页面的录制内容。

请求示例:
``` js
request
Expand Down

0 comments on commit 8bfede6

Please sign in to comment.