Skip to content

Commit 762716e

Browse files
authored
Merge pull request #9 from HISPlayer/release/4.7.0
Release/4.7.0
2 parents 91eb024 + 95248d4 commit 762716e

File tree

2 files changed

+10
-0
lines changed

2 files changed

+10
-0
lines changed

hisplayer-api.md

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -422,3 +422,9 @@ Get the remaining time of a certain advertisement in milliseconds (ms). The **pl
422422

423423
#### protected float GetAdCurrentTime(int playerIndex)
424424
Get the current time of a certain advertisement in milliseconds (ms). The **playerIndex** is associated with the index of the element of **Multi Stream Properties**, e.g. the index 0 is the element 0 in the list.
425+
426+
#### protected void SetPlaybackSpeedRate(int playerIndex, float speed)
427+
Modify the **speed rate** of a certain stream giving a **playerIndex**. The value of the player's speed must be greater (>) than 0.0f and less than or equal (<=) to 8.0f. The default value of player's speed is 1.0f. The **playerIndex** is associated with the index of the element of **Multi Stream Properties**, e.g. the index 0 is the element 0 in the list.
428+
429+
#### protected float GetPlaybackSpeedRate(int playerIndex)
430+
Obtain the **speed rate** of a certain player. The **playerIndex** is associated with the index of the element of **Multi Stream Properties**, e.g. the index 0 is the element 0 in the list.

releases.md

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,9 @@
11
# HISPlayer Unity WebGL SDK Release Notes
22

3+
### Version 4.7.0
4+
##### March 3, 2025
5+
- [**Added**] GetPlaybackSpeedRate and SetPlaybackSpeedRate APIs
6+
37
### Version 4.4.0
48
##### September 10, 2024
59
- [**Added**] Release API is called automatically when stopping the Editor, changing scenes or closing the app

0 commit comments

Comments
 (0)