From 3f4d56ebe1e5db3719bc40d7d77a5634017d6917 Mon Sep 17 00:00:00 2001 From: Stiven Arias Giraldo <47497948+StAincrad@users.noreply.github.com> Date: Wed, 7 Aug 2024 11:27:33 +0200 Subject: [PATCH 1/7] Update releases.md --- releases.md | 14 ++++++++++++++ 1 file changed, 14 insertions(+) diff --git a/releases.md b/releases.md index f054a52..20faaa3 100644 --- a/releases.md +++ b/releases.md @@ -1,5 +1,19 @@ # HISPlayer Unity iOS SDK Release Notes +### Version 4.3.0 +##### August 7, 2024 +- [**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/#/) +- [**Update**] HISPlayer360Shader.shader is now including the field Flip Vertically. Please, refer to: + - Packages > HISPlayer SDK > HISPlayer > Resources > Materials > **HISPlayer360Material.mat** + - Packages > HISPlayer SDK > HISPlayer > Resources > Materials > **HISPlayer180Material.mat** + - Packages > HISPlayer SDK > HISPlayer > Scripts > Shaders > **HISPlayer360Shader.shader** +- [**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 From 639c7272340a51c29b9d7f482eff60bdba7f828a Mon Sep 17 00:00:00 2001 From: Stiven Arias Giraldo <47497948+StAincrad@users.noreply.github.com> Date: Wed, 7 Aug 2024 11:36:53 +0200 Subject: [PATCH 2/7] Update releases.md --- releases.md | 7 ++++++- 1 file changed, 6 insertions(+), 1 deletion(-) diff --git a/releases.md b/releases.md index 20faaa3..7f2e14c 100644 --- a/releases.md +++ b/releases.md @@ -4,10 +4,15 @@ ##### August 7, 2024 - [**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/#/) -- [**Update**] HISPlayer360Shader.shader is now including the field Flip Vertically. Please, refer to: +- [**Added**] Custom resources to support the stereoscopic rendering mode + - Packages > HISPlayer SDK > HISPlayer > Scripts > Shaders > **HISPlayerStereoscopicShader.shader** + - Packages > HISPlayer SDK > HISPlayer > Resources > Materials > **HISPlayerStereoscopicMaterial.mat** + - Packages > HISPlayer SDK > HISPlayer > Scripts > RenderTextures > **HISPlayerStereoscopicRenderTexture.rendertexture** +- [**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 From 192f92021564e86aa8420e30b63421455bac6ef8 Mon Sep 17 00:00:00 2001 From: Stiven Arias Giraldo <47497948+StAincrad@users.noreply.github.com> Date: Wed, 7 Aug 2024 11:39:13 +0200 Subject: [PATCH 3/7] Update releases.md --- releases.md | 4 ---- 1 file changed, 4 deletions(-) diff --git a/releases.md b/releases.md index 7f2e14c..17ada93 100644 --- a/releases.md +++ b/releases.md @@ -4,10 +4,6 @@ ##### August 7, 2024 - [**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 support the stereoscopic rendering mode - - Packages > HISPlayer SDK > HISPlayer > Scripts > Shaders > **HISPlayerStereoscopicShader.shader** - - Packages > HISPlayer SDK > HISPlayer > Resources > Materials > **HISPlayerStereoscopicMaterial.mat** - - Packages > HISPlayer SDK > HISPlayer > Scripts > RenderTextures > **HISPlayerStereoscopicRenderTexture.rendertexture** - [**Added**] Custom resources to play 180/360 videos - Packages > HISPlayer SDK > HISPlayer > Resources > Materials > **HISPlayer360Material.mat** - Packages > HISPlayer SDK > HISPlayer > Resources > Materials > **HISPlayer180Material.mat** From ca8242cb8747176544c7746e72029dbbc42753e1 Mon Sep 17 00:00:00 2001 From: Stiven Arias Giraldo <47497948+StAincrad@users.noreply.github.com> Date: Thu, 8 Aug 2024 14:08:54 +0200 Subject: [PATCH 4/7] Update releases.md --- releases.md | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/releases.md b/releases.md index 17ada93..1c321d8 100644 --- a/releases.md +++ b/releases.md @@ -1,7 +1,9 @@ # HISPlayer Unity iOS SDK Release Notes ### Version 4.3.0 -##### August 7, 2024 +##### 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 From 9a5818fe97e0e842c3f4b1022bd0f3082bbe1b4d Mon Sep 17 00:00:00 2001 From: Stiven Arias Giraldo <47497948+StAincrad@users.noreply.github.com> Date: Thu, 8 Aug 2024 14:10:00 +0200 Subject: [PATCH 5/7] Update hisplayer-api.md --- hisplayer-api.md | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/hisplayer-api.md b/hisplayer-api.md index a577196..b6de0b0 100644 --- a/hisplayer-api.md +++ b/hisplayer-api.md @@ -52,6 +52,7 @@ The following public APIs are provided by **HISPlayerManager** * **HISPLAYER_EVENT_PLAYBACK_BUFFERING** * **HISPLAYER_EVENT_NETWORK_CONNECTED** * **HISPLAYER_EVENT_END_OF_CONTENT** + * **HISPLAYER_EVENT_VIDEO_SIZE_CHANGE** * **public enum HISPlayerError**: The list of errors provided by HISPlayer SDK. The errors can be used with the virtual functions in the next section: * **HISPLAYER_ERROR_LICENSE_EXPIRED** (no function on this) @@ -209,6 +210,10 @@ This event occurs whenever an internal playback is buffering. Override this method to add custom logic when **HISPlayerEvent.HISPlayer_EVENT_END_OF_CONTENT** is triggered. This event occurs whenever an internal playlist reaches the end of the list. +#### 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. + #### protected virtual void ErrorInfo(HISPlayerErrorInfo errorInfo) Override this method to add custom logic when an error callback is triggered. Please, refer to the **HISPlayerError** list. From 56ed4b71e132537aadf5098ea98085bd04e63aa9 Mon Sep 17 00:00:00 2001 From: Stiven Arias Giraldo <47497948+StAincrad@users.noreply.github.com> Date: Thu, 8 Aug 2024 14:15:01 +0200 Subject: [PATCH 6/7] Update hisplayer-api.md --- hisplayer-api.md | 17 ++++++++++++++++- 1 file changed, 16 insertions(+), 1 deletion(-) diff --git a/hisplayer-api.md b/hisplayer-api.md index b6de0b0..7f96e86 100644 --- a/hisplayer-api.md +++ b/hisplayer-api.md @@ -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** @@ -52,7 +53,6 @@ The following public APIs are provided by **HISPlayerManager** * **HISPLAYER_EVENT_PLAYBACK_BUFFERING** * **HISPLAYER_EVENT_NETWORK_CONNECTED** * **HISPLAYER_EVENT_END_OF_CONTENT** - * **HISPLAYER_EVENT_VIDEO_SIZE_CHANGE** * **public enum HISPlayerError**: The list of errors provided by HISPlayer SDK. The errors can be used with the virtual functions in the next section: * **HISPLAYER_ERROR_LICENSE_EXPIRED** (no function on this) @@ -214,6 +214,21 @@ This event occurs whenever an internal playlist reaches the end of the list. 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. + + + + + + + + + + + + + +
NameDescription
param1Width of the video.
param2Heigth of the video.
+ #### protected virtual void ErrorInfo(HISPlayerErrorInfo errorInfo) Override this method to add custom logic when an error callback is triggered. Please, refer to the **HISPlayerError** list. From 20e02fba9b0f2d548ee17f604c3fe384bd9f0c17 Mon Sep 17 00:00:00 2001 From: Stiven Arias Giraldo <47497948+StAincrad@users.noreply.github.com> Date: Thu, 8 Aug 2024 14:17:46 +0200 Subject: [PATCH 7/7] Update hisplayer-api.md --- hisplayer-api.md | 39 +++++++++++++++++++-------------------- 1 file changed, 19 insertions(+), 20 deletions(-) diff --git a/hisplayer-api.md b/hisplayer-api.md index 7f96e86..4ac85f1 100644 --- a/hisplayer-api.md +++ b/hisplayer-api.md @@ -117,7 +117,25 @@ Calling functions such as GetTracks before this event is triggered will provide Number of tracks of the playback. - + +#### 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. + + + + + + + + + + + + + + +
NameDescription
param1Width of the video.
param2Heigth of the video.
#### protected virtual void EventPlaybackPlay(HISPlayerEventInfo eventInfo) Override this method to add custom logic when **HISPlayerEvent.HISPlayer_EVENT_PLAYBACK_PLAY** is triggered. @@ -210,25 +228,6 @@ This event occurs whenever an internal playback is buffering. Override this method to add custom logic when **HISPlayerEvent.HISPlayer_EVENT_END_OF_CONTENT** is triggered. This event occurs whenever an internal playlist reaches the end of the list. -#### 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. - - - - - - - - - - - - - - -
NameDescription
param1Width of the video.
param2Heigth of the video.
- #### protected virtual void ErrorInfo(HISPlayerErrorInfo errorInfo) Override this method to add custom logic when an error callback is triggered. Please, refer to the **HISPlayerError** list.