Skip to content

Commit

Permalink
Merge pull request #2 from HISPlayer/release/4.3.0
Browse files Browse the repository at this point in the history
Update releases.md
  • Loading branch information
StAincrad committed Aug 8, 2024
2 parents 67bd172 + 20e02fb commit b710ab5
Show file tree
Hide file tree
Showing 2 changed files with 37 additions and 1 deletion.
21 changes: 20 additions & 1 deletion hisplayer-api.md
Original file line number Diff line number Diff line change
Expand Up @@ -39,6 +39,7 @@ The following public APIs are provided by **HISPlayerManager**

* **public enum HISPlayerEvent**: The list of events provided by HISPlayer SDK. The events can be used with the virtual functions in the next section:
* **HISPLAYER_EVENT_PLAYBACK_READY**
* **HISPLAYER_EVENT_VIDEO_SIZE_CHANGE**
* **HISPLAYER_EVENT_PLAYBACK_PLAY**
* **HISPLAYER_EVENT_PLAYBACK_PAUSE**
* **HISPLAYER_EVENT_PLAYBACK_STOP**
Expand Down Expand Up @@ -116,7 +117,25 @@ Calling functions such as GetTracks before this event is triggered will provide
<td>Number of tracks of the playback.</td>
</tr>
</table>


#### protected virtual void EventVideoSizeChange(HISPlayerEventInfo eventInfo)
Override this method to add custom logic when **HISPlayerEvent.HISPLAYER_EVENT_VIDEO_SIZE_CHANGE** is triggered.
This event occurs whenever the internal video size of the current track changes.

<table>
<tr>
<th>Name</th>
<th>Description</th>
</tr>
<tr>
<td>param1</td>
<td>Width of the video.</td>
</tr>
<tr>
<td>param2</td>
<td>Heigth of the video.</td>
</tr>
</table>

#### protected virtual void EventPlaybackPlay(HISPlayerEventInfo eventInfo)
Override this method to add custom logic when **HISPlayerEvent.HISPlayer_EVENT_PLAYBACK_PLAY** is triggered.
Expand Down
17 changes: 17 additions & 0 deletions releases.md
Original file line number Diff line number Diff line change
@@ -1,5 +1,22 @@
# HISPlayer Unity iOS SDK Release Notes

### Version 4.3.0
##### August 8, 2024
- [**Added**] **HISPLAYER_EVENT_VIDEO_SIZE_CHANGE** and **EventVideoSizeChange**.
- This event occurs whenever the internal video size of the current track changes
- [**Added**] New HISPlayer Video Uploader feature. Turn local videos into streaming videos such as HLS or DASH. This videos are going to be stored in our server for you. Please, on the Editor refer to:
- [HISPlayer Video Upload documentation](https://hisplayer.github.io/UnityVideoUpload/#/)
- [**Added**] Custom resources to play 180/360 videos
- Packages > HISPlayer SDK > HISPlayer > Resources > Materials > **HISPlayer360Material.mat**
- Packages > HISPlayer SDK > HISPlayer > Resources > Materials > **HISPlayer180Material.mat**
- Packages > HISPlayer SDK > HISPlayer > Scripts > Shaders > **HISPlayer360Shader.shader**
- Packages > HISPlayer SDK > HISPlayer > Scripts > RenderTextures > **HISPlayer360RenderTexture.rendertexture**
- [**Improvement**] Optimized HISPlayer Settings log messages
- [**Improvement**] Optimized Event and Error listeners
- [**Improvement**] Optimized license checking
- [**Improvement**] Optimized HISPlayer API function commentaries to be more clear
- [**Improvement**] Optimized runtime log messages

### Version 3.4.1
##### April 23, 2024
- [**Improvement**] Improvement of software robustness
Expand Down

0 comments on commit b710ab5

Please sign in to comment.