From 5b4bab7313b3b960985f983aa37c27e3273cfeb7 Mon Sep 17 00:00:00 2001 From: numberwolf Date: Sat, 13 Aug 2022 14:58:36 +0800 Subject: [PATCH] update --- README_EN.MD | 33 +++++++++++++++++++++++++++++++++ 1 file changed, 33 insertions(+) diff --git a/README_EN.MD b/README_EN.MD index c242005d..405fd591 100644 --- a/README_EN.MD +++ b/README_EN.MD @@ -159,6 +159,10 @@ Notice: - [Snapshot](#snapshot) + - [SetPlayRate](#setplayrate) + + - [GetPlayRate](#getplayrate) + - [Release Player](#release) - [3、Others](#3others) @@ -867,12 +871,41 @@ player.closeFullScreen();
+#### setplayrate #### + +| Function | Return | Desc | +| ---- | ---- | ---- | +| setPlaybackRate(rate) | true/false | 设置倍速 默认1.0 | + +* 示例 + +```javascript +h265Object.setPlaybackRate(0.5); +``` + +
+ +#### getplayrate #### + +| Function | Return | Desc | +| ---- | ---- | ---- | +| getPlaybackRate() | Double | 截取当前帧图像 | + +* 示例 + +```javascript +let rate = h265Object.getPlaybackRate(); +``` + +
+ #### resize #### | Function | Return | Desc | | ---- | ---- | ----| | resize(width, height) | true/false | resize | +
#### snapshot ####