Skip to content

Commit

Permalink
Merge pull request #4 from HISPlayer/release/4.4.0
Browse files Browse the repository at this point in the history
Release/4.4.0
  • Loading branch information
StAincrad authored Sep 10, 2024
2 parents b0a48ca + 976a6d6 commit 533badf
Show file tree
Hide file tree
Showing 2 changed files with 12 additions and 0 deletions.
5 changes: 5 additions & 0 deletions hisplayer-api.md
Original file line number Diff line number Diff line change
Expand Up @@ -56,6 +56,7 @@ The following public APIs are provided by **HISPlayerManager**:
* **HISPLAYER_EVENT_AUTO_TRANSITION**
* **HISPLAYER_EVENT_PLAYBACK_BUFFERING**
* **HISPLAYER_EVENT_NETWORK_CONNECTED**
* **HISPLAYER_EVENT_TIMELINE_UPDATED**
* **HISPLAYER_EVENT_END_OF_CONTENT**
* **HISPLAYER_EVENT_CACHE_PROGRESS** (Only in SDK v3.4.3)
* **HISPLAYER_EVENT_CACHE_URL_ADDED** (Only in SDK v3.4.3)
Expand Down Expand Up @@ -293,6 +294,10 @@ This event occurs whenever an internal playback reaches the end of the video con
Override this method to add custom logic when **HISPlayerEvent.HISPlayerEvent.HISPLAYER_EVENT_NETWORK_CONNECTED** is triggered.
This event occurs whenever the network has been reconnected.

#### protected virtual void EventTimelineUpdated(HISPlayerEventInfo subtitlesInfo)
Override this method to add custom logic when **HISPlayerEvent.HISPlayerEvent.HISPLAYER_EVENT_TIMELINE_UPDATED** is triggered.
This event occurs whenever the timeline of the current video has been updated. In the case of live content this may happen every certain time during the playback. This may change the current video position value from GetVideoPosition().

#### protected virtual void EventCacheProgress(HISPlayerEventCacheProgress cacheProgress)
Only in SDK v3.4.3. Override this method to add custom logic when **HISPLAYER_EVENT_CACHE_PROGRESS** is triggered.
This event occurs whenever there is a process of caching a certain URL. It shows the progress data of the current cache operation.
Expand Down
7 changes: 7 additions & 0 deletions releases.md
Original file line number Diff line number Diff line change
@@ -1,5 +1,12 @@
# HISPlayer Unity Android SDK Release Notes

### Version 4.4.0
##### September 10, 2024
- [**Added**] Release API is called automatically when stopping the Editor, changing scenes or closing the app
- [**Added**] HISPLAYER_EVENT_TIMELINE_UPDATED and EventTimelineUpdated
- This event occurs whenever the timeline of the current video has been updated. In the case of live content this may happen every certain time during the playback. This may change the current video position value from GetVideoPosition(...).
- [**Improvement**] Optimized error log messages

### Version 4.3.2
##### August 9, 2024
- [**Added**] New RenderMode External Surface to play Widevine L1 content with Meta Quest devices
Expand Down

0 comments on commit 533badf

Please sign in to comment.