Skip to content

Commit 0113d13

Browse files
Merge pull request #14 from HISPlayer/release/4.14.0
Release/4.14.0
2 parents c8e8a40 + e88ec10 commit 0113d13

2 files changed

Lines changed: 19 additions & 0 deletions

File tree

hisplayer-api.md

Lines changed: 12 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -433,6 +433,18 @@ Seek a certain stream to a certain time giving a **playerIndex**. For **non-live
433433
Modify the volume of a certain stream giving a **playerIndex**. The **volume** of the track value ranges between 0.0f and 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.
434434
Call this API after having interaction with the web page/screen, otherwise audio will not play on WebGL due to browser autoplay policy.
435435

436+
#### void AddStream(StreamProperties newStream)
437+
Add a new stream to the list multiStreamProperties. The stream must be added using this function instead of changing the list manually.
438+
439+
#### void AddVideoContent(int playerIndex, string url, HISPlayerMimeTypes mimeType = HISPlayerMimeTypes.URL_EXTENSION (optional))
440+
Add new content to 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. The **url** is the link to the new video. Please, make sure the string is correct. This function supports local file paths. The parameter **mimeType** is optional and indicates which MIME type will be used for the new url.
441+
442+
#### void RemoveStream(int playerIndex)
443+
Remove 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.
444+
445+
#### void RemoveVideoContent(int playerIndex, int urlIndex)
446+
Remove content from 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. The **urlIndex** is associated with the index of the element in the list of URLs.
447+
436448
#### void ChangeVideoContent(int playerIndex, int urlIndex, int resumePosition = 0 (optional), AdsProperties ads = null (optional))
437449
Change the video’s URL of a certain player. The next playback will start paused if **autoPlay** is disabled. 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. The **urlIndex** is associated with the index of the element in the list of URLs. The **resumePosition** parameter is optional and is the time position in second(s) where the new content is starting the playback, default value is 0. The **AdsProperties** is an ads properties to use when loading the new content, default value is null.
438450

releases.md

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

3+
### Version 4.14.0
4+
##### December 18, 2025
5+
- [**Added**] Integrated new stream management functions: AddStream, RemoveStream, AddVideoContent, and RemoveVideoContent to allow dynamic handling of streams and video content at runtime.
6+
- [**Improvement**] Improved volume change event handling to ensure HISPLAYER_EVENT_VOLUME_CHANGE is triggered consistently and behaves uniformly across all supported platforms.
7+
- [**Improvement**] Updated GetProgramDateTimeEpoch to return the exact Epoch time of the current frame, ensuring consistent behavior across WebGL, Windows, Android, iOS, and macOS.
8+
- [**Improvement**] Improved seek event handling to ensure HISPLAYER_EVENT_PLAYBACK_SEEK_END is consistently triggered across all platforms, including WebGL.
9+
310
### Version 4.13.0
411
##### November 28, 2025
512
- [**Added**] Support for seeking using epoch time in HLS live streams.

0 commit comments

Comments
 (0)