Skip to content

Commit

Permalink
Merge pull request #171 from girlbymirror/master
Browse files Browse the repository at this point in the history
update README_EN
  • Loading branch information
girlbymirror authored Aug 13, 2022
2 parents e33b061 + 1c7ee55 commit aec8b44
Showing 1 changed file with 33 additions and 0 deletions.
33 changes: 33 additions & 0 deletions README_EN.MD
Original file line number Diff line number Diff line change
Expand Up @@ -159,6 +159,10 @@ Notice:

- [Snapshot](#snapshot)

- [SetPlayRate](#setplayrate)

- [GetPlayRate](#getplayrate)

- [Release Player](#release)

- [3、Others](#3others)
Expand Down Expand Up @@ -867,12 +871,41 @@ player.closeFullScreen();

<br>

#### setplayrate ####

| Function | Return | Desc |
| ---- | ---- | ---- |
| setPlaybackRate(rate) | true/false | 设置倍速 默认1.0 |

* 示例

```javascript
h265Object.setPlaybackRate(0.5);
```

<br>

#### getplayrate ####

| Function | Return | Desc |
| ---- | ---- | ---- |
| getPlaybackRate() | Double | 截取当前帧图像 |

* 示例

```javascript
let rate = h265Object.getPlaybackRate();
```

<br>

#### resize ####

| Function | Return | Desc |
| ---- | ---- | ----|
| resize(width, height) | true/false | resize |

<br>

#### snapshot ####

Expand Down

0 comments on commit aec8b44

Please sign in to comment.