3D Audio OverviewImmersive experience is much talked about in the current mobile app world, given how it evokes emotions from users to merge the virtual world with reality.
3D audio is a fantastic gimmick that is capable of delivering such an experience. This tech provides listeners with an audio experience that mimics how they hear sounds in real life, mostly by using the binaural sound systems to capture, process, and play back audio waves. 3D audio allows the listener to know where audio sources are from, thereby delivering a richer experience.
The global 3D audio market, according to a report released by ReportLinker, is expected to reach 13.7 billion dollars by 2027 — which marks an immense financial opportunity, as long as this kind of audio effects can be enjoyed by as many as possible users.
The evolution of mobile app technology has made this a reality, making 3D audio more accessible than ever with no need for a bulky headset or a pair of fancy (but expensive) headphones. Truth to be told, I just lost one of my Bluetooth earphones down the drain a few weeks ago and I was struggling to manage without 3D audio. This made me realize that the built-in 3D audio feature is paramount for an app.
Well, in an earlier post I created a demo audio player with the 3D audio feature , thanks to the spatial audio capability of the UI SDK from HMS Core Audio Editor Kit. And in that post, I mentioned that after verifying the capability's functionality, I'd like to create my own UI rather than the preset one of the SDK. Therefore, I turned to the fundamental capability SDK from the kit, which provides an even more powerful spatial audio capability for implementing 3D audio and allows for UI customization.
Check out what I've created:
{
"lightbox_close": "Close",
"lightbox_next": "Next",
"lightbox_previous": "Previous",
"lightbox_error": "The requested content cannot be loaded. Please try again later.",
"lightbox_start_slideshow": "Start slideshow",
"lightbox_stop_slideshow": "Stop slideshow",
"lightbox_full_screen": "Full screen",
"lightbox_thumbnails": "Thumbnails",
"lightbox_download": "Download",
"lightbox_share": "Share",
"lightbox_zoom": "Zoom",
"lightbox_new_window": "New window",
"lightbox_toggle_sidebar": "Toggle sidebar"
}
The capability helps my demo automatically recognize over 10 types of audio sources and can render audio in any of the following modes: fixed position, dynamic rendering, and extension. The dynamic rendering mode is used as an example here, which allows the following parameters to be specified: position of audio in a certain place, duration of a round of audio circling the listener, and the direction to which audio circles. In this way, the spatial audio capability is applicable to different music genres and application scenarios.
Let's see the demo development procedure in detail.
Developing the DemoPreparations1. Make sure the following requirements are met:
Software:
JDK version: 1.8 or later
Android Studio version: 3.X or later
minSdkVersion: 24 or later
targetSdkVersion: 33 (recommended)
compileSdkVersion: 30 (recommended)
Gradle version: 4.6 or later (recommended)
Hardware: a mobile phone used for testing, whose OS can be EMUI (version 5.0 or later) or Android (version 7.0 to 13)
2. Configure app information in AppGallery Connect. You need to register for a developer account, create a project and an app, generate a signing certificate fingerprint, configure the fingerprint, enable the kit for the project, and manage the default data processing location.
3. Integrate the app with the HMS Core SDK. During this step, ensure the Maven repository address for the HMS Core SDK is configured in the project.
4. Declare necessary permissions in the AndroidManifest.xml file, involving the vibration permission, microphone permission, storage write permission, storage read permission, Internet permission, network status access permission, and permission to obtaining the changed network connectivity state.
Code:
<uses-permission android:name="android.permission.VIBRATE" />
<uses-permission android:name="android.permission.RECORD_AUDIO" />
<uses-permission android:name="android.permission.WRITE_EXTERNAL_STORAGE" />
<uses-permission android:name="android.permission.READ_EXTERNAL_STORAGE" />
<uses-permission android:name="android.permission.INTERNET" />
<uses-permission android:name="android.permission.ACCESS_NETWORK_STATE" />
<uses-permission android:name="android.permission.CHANGE_NETWORK_STATE" />
SDK Integration1. Set the app authentication information via:
An access token (which is obtained by calling the
https://oauth-login.cloud.huawei.com/oauth2/v3/token
API). Call setAccessToken to set an access token during app initialization.
Code:
HAEApplication.getInstance().setAccessToken("access token");
Or an API key (which is allocated to the app during app registration in AppGallery Connect). Call setApiKey to set the key during app initialization.
Code:
HAEApplication.getInstance().setApiKey("API key");
2. Call applyAudioFile to apply the spatial audio effect.
Code:
// Apply spatial audio.
// Fixed position mode.
HAESpaceRenderFile haeSpaceRenderFile = new HAESpaceRenderFile(SpaceRenderMode.POSITION);
haeSpaceRenderFile.setSpacePositionParams(
new SpaceRenderPositionParams(x, y, z));
// Dynamic rendering mode.
HAESpaceRenderFile haeSpaceRenderFile = new HAESpaceRenderFile(SpaceRenderMode.ROTATION);
haeSpaceRenderFile.setRotationParams(new SpaceRenderRotationParams(
x, y, z, circling_time, circling_direction));
// Extension.
HAESpaceRenderFile haeSpaceRenderFile = new HAESpaceRenderFile(SpaceRenderMode.EXTENSION);
haeSpaceRenderFile.setExtensionParams(new SpaceRenderExtensionParams(radian, angle));
// Call the API.
haeSpaceRenderFile.applyAudioFile(inAudioPath, outAudioDir, outAudioName, callBack);
// Cancel applying spatial audio.
haeSpaceRenderFile.cancel();
The whole development procedure closes here, giving birth to an app that works like the GIF above.
Use Cases Beyond Music PlaybackMusic playback is just one of the basic use cases of the spatial audio capability. I believe that it can be adopted in many other scenarios, in navigation, for example. Spatial audio can help users navigate from A to B even easier. It could, for example, tell users to "Turn left" with the sound coming from the left side of a listener, taking immersion to a new level.
Karaoke apps on the other hand can count on spatial audio and audio source separation (a capability I've also used for my demo) for generating accompaniments with even better effects: The audio source separation capability first abstracts the accompaniment a user needs from a song, and the spatial audio capability then works its magic to turn the accompaniment into 3D audio, which mimics how an accompaniment would really sound like in a concert or recording studio.
Takeaway3D audio contributes heavily to the immersive experience of a mobile app, as it can digitally imitate how sounds are perceived in the real world. Such an effect, coupled with the huge financial benefits of the 3D audio market and its expansive application scenarios, has thrown 3D audio into the spotlight for app developers.
What's more, devices such as headsets and headphones are no longer necessary for enjoying 3D audio, thanks to advancements in mobile app technology. A solution to implementing the feature comes from Audio Editor Kit, which is known as spatial audio and is available in two SDKs: UI SDK and fundamental capability SDK. The former has a preset UI featuring basic functions, while the latter allows for UI customization and offers more functions (including three rendering modes applicable to different use cases and music genres). Either way, with the spatial audio capability, users of an app can have an audio experience that resembles how sounds are perceived in the real world.
Related
The release of the HUAWEI P40 series, a high-end smartphone line bolstered by the self-developed Kirin 990 (5G), was the undisputed highlight at Huawei's 2020 spring online showcase. The Kirin 990 has been enhanced with high-level privacy and security safeguards, becoming the first-ever SoC to have been certified by ChinaDRM for hardware-level security. Huawei has utilized the unique attributes of the Kirin 990 to establish WisePlay DRM, an end-to-end digital rights management (DRM) solution that is ChinaDRM-compliant. WisePlay DRM provides developers secure, trusted, and free-of-charge digital copyright protection capabilities on Huawei devices. Huawei will accelerate the global deployment of its HMS ecosystem over the course of 2020, set off by the launch of the all-new HMS Core 4.0 version earlier this year, which integrates a diverse range of basic services, including WisePlay DRM.
{
"lightbox_close": "Close",
"lightbox_next": "Next",
"lightbox_previous": "Previous",
"lightbox_error": "The requested content cannot be loaded. Please try again later.",
"lightbox_start_slideshow": "Start slideshow",
"lightbox_stop_slideshow": "Stop slideshow",
"lightbox_full_screen": "Full screen",
"lightbox_thumbnails": "Thumbnails",
"lightbox_download": "Download",
"lightbox_share": "Share",
"lightbox_zoom": "Zoom",
"lightbox_new_window": "New window",
"lightbox_toggle_sidebar": "Toggle sidebar"
}
Anytime Leisure, with All-time Protections
Even prior the arrival of 5G, streaming video has become a fixture in daily life. Given this, video service providers have attached increasing importance to DRM, as it plays a crucial role in ensuring that audio, video, and app content remains protected when downloaded and opened. In order to provide copyrighted digital content with an additional layer of protection, the WisePlay DRM leverages the Kirin 990, which features a higher security level than that on Google’s Widevine L1 and Microsoft’s PlayReady.
As a key pillar in the global HMS ecosystem, HUAWEI Video (with WisePlay DRM integrated) has worked closely with leading film studios in Hollywood and premium content providers, having obtained the Hollywood 4K UHD content protection certification, thanks to the cutting-edge technology packed into the Kirin 990. This provides users with access to tens of thousands of critically-acclaimed films, spanning diverse genres, from Sony's Spider-Man movies (Spider-Man: Parallel Universe, The Amazing Spider-Man 2, etc.), to 4K BBC documentaries, inspirational movies (The Pursuit of Happyness, etc.), and animations (The Smurfs in 3D, etc.) – all of which can be watched securely, and on smart screen devices.
HUAWEI Video has also partnered with Mango TV, Youku, and Tencent Video in the Chinese mainland, with a focus on high-quality educational content encompassing the arts and humanities. This framework gives users the freedom to watch whatever content catches their interest, with maximum peace of mind.
Building a Full-fledged Ecosystem, Dedicated to Safeguarding IP Rights for Radio, Film, and TV
For a long time, content providers lacked effective technical safeguards for their content, and as a result, piracy was rampant, undercutting the economic viability of the industry. To counteract the threat of piracy, China's radio and TV industry has developed the pioneering ChinaDRM ecosystem. HUAWEI Video is based on ChinaDRM, and has spared no effort to protect the IP rights for copyrighted radio, film, and television in China, and collaborated with partners across the industry to build a massive video catalog, covering more than 20 diverse categories, including movies, children’s content, variety shows, educational materials, documentaries, animations, and sports. Furthermore, HUAWEI Video provides the latest episodes for popular dramas and top variety shows in real time, enriching the lives of users with comprehensive video content services.
At the technical level, HUAWEI Video leverages next-level AI video enhancements, which are based on the proprietary WiseVideo codec, to embellish old movies with high-quality imagery. It is capable of converting traditional Standard Dynamic Range (SDR) media into High Dynamic Range (HDR) assets, which provides for a new level of clarity, with a wider brightness range and greater image tolerance, to ensure that content is rendered in detailed splendor under a high light ratio. The technology can also reconstruct low-quality video, by removing defects such as scratches and artifacts, and by enhancing image quality via noise reduction, sharpening, and super resolution. When combined with intelligent push technology, it facilitates optimal streaming media playback, in which high-quality imagery is ensured, even when the video bit rate is reduced by more than 40%.
With the large-scale international deployment of the HMS ecosystem, the WisePlay DRM has gained recognition, and is being implemented globally on a broad, commercial scale. You can benefit from this unique, one-stop solution, and protect the rights of all your content, on every device, and in every market.
More information about this, you can visit HUAWEI Developer Forum.
Smartphones have become the single most important smart device in the digital age, thanks to a full-fledged mobile device and communications ecosystem. However, most people will opt to switch to a larger screen device for full-scale immersion, when watching a movie or gaming. Marrying smartphone functionality with the benefits of a large-screen device, allows for the content on a smartphone to be projected on to an expansive display, offering a new paradigm for entertainment, as well as remote work and learning.
As a core distributed technology in Huawei's EMUI system, HUAWEI Cast+ Kit incorporates the strengths of both large and smaller screen devices, and seamlessly bridges the divide between the two systems, facilitating effortless cross-device transfers of media content.
Ultra low latency
Revolutionizing the game projection experience
Projecting games with HUAWEI Cast+ Kit ensures that the projected content on the TV is in sync with the action on your phone, with projection latency as low as 50 ms. This provides for a whole new realm of fully-immersive gaming.
{
"lightbox_close": "Close",
"lightbox_next": "Next",
"lightbox_previous": "Previous",
"lightbox_error": "The requested content cannot be loaded. Please try again later.",
"lightbox_start_slideshow": "Start slideshow",
"lightbox_stop_slideshow": "Stop slideshow",
"lightbox_full_screen": "Full screen",
"lightbox_thumbnails": "Thumbnails",
"lightbox_download": "Download",
"lightbox_share": "Share",
"lightbox_zoom": "Zoom",
"lightbox_new_window": "New window",
"lightbox_toggle_sidebar": "Toggle sidebar"
}
Proprietary streamlined communications mechanism
Resolving the trade-off between smoothness and clarity
During projection, the Wi-Fi environment is prone to interference and instability due to the potentially high number of devices connected to the same network. Due to this and the resulting packet loss, frame freezing and artifacts will tend to occur. The common resolution for most brands is to sacrifice smoothness for clarity, or vice versa. But now it's possible to enjoy the best of both worlds: high quality imagery with a smooth display.
HUAWEI Cast+ Kit is the culmination of three years of optimization and iteration, and is based on Huawei's own streaming media communication and transmission protocols. It redesigns the algorithm at the streaming media transmission layer to ensure strong anti-interference capabilities. Even when the packet loss rate reaches 25%, HUAWEI Cast+ Kit still manages to minimize frame freezing and ensure stable data transmission. This ensures a high degree of smoothness and high definition streaming, throughout the entire projection process. Because the optimization is performed at the software layer only, no additional cost is passed on at the hardware layer to device partners.
High-definition mirroring
Reproducing the magnificent graphical performance on your phone
The 1080p HD mirroring provided by HUAWEI Cast+ Kit allows for lossless reproduction of pictures and videos on your phone.
Streamlined connection
Easy, instantaneous projections, on command
HUAWEI Cast+ Kit can be accessed on a Huawei phone, without the need to download and install an additional app. By swiping down the notification panel and touching the Wireless Projection shortcut switch, your phone will automatically search for nearby devices that can be projected to. To project the phone screen, just select the target device. The process is so simple that even technologically-challenged users can perform it with ease. HUAWEI Cast+ Kit comes equipped with a fast discovery mechanism that is based on Huawei-developed algorithms. The minimal time required to establish an end-to-end connection is a staggering 500 ms. HUAWEI Cast+ Kit is a highly-accessible wireless projection solution that is not weighed down by unnecessary bells and whistles, for direct touch-to-connect and casting.
PIN authentication
Secure and convenient
When using the Huawei Cast+ function on a TV for the first time, the user will need to enter the PIN to authenticate the connection. All subsequent connections will not require PIN input. This solution provides for optimal user privacy and security, without compromising convenience in the slightest.
HUAWEI Cast+ Kit is only supported on devices that run EMUI 10.1 or later. EMUI 10.1 debuted on the HUAWEI P40 series of smartphones, which were released on April 8, 2020 in China, and will be made available on a gradual basis, on other phone models. HUAWEI Cast+ Kit is poised to reinvent the nature of cross-device interaction, with Huawei's broad user base, and collaborative capabilities of third-party partners.
For more details about Cast+ Kit development, including a service overview, development guide, access preparation, and access to the SDK, please click the link below:
https://developer.huawei.com/consumer/en/cast-kit/
Really amazing~ Expect more functions about this kit.
More information like this, you can visit HUAWEI Developer Forum
Introduction:
Huawei CaaS (Communications as a Service) is an open API, based on the Huawei MeeTime service, which integrates voice calls, video calls, and screen sharing, even when network conditions are poor. This article will provide information on CaaS features, its functionalities and classes used for various processes. It is essential to know about Huawei MeeTime service as a prerequisite.
About Huawei MeeTime Service:
HUAWEI MeeTime enables to make 1080p HD video calls using either Wi-Fi or mobile data. These video calls are crystal clear, even in poorly lit environments, and MeeTime has a wide range of handy features, including beauty mode, screen sharing, and 360-degree background switching. Also, we can divert calls between a range of devices, including tablets, speakers, smart TVs and also use drones, and motion cameras to share videos in real time.
{
"lightbox_close": "Close",
"lightbox_next": "Next",
"lightbox_previous": "Previous",
"lightbox_error": "The requested content cannot be loaded. Please try again later.",
"lightbox_start_slideshow": "Start slideshow",
"lightbox_stop_slideshow": "Stop slideshow",
"lightbox_full_screen": "Full screen",
"lightbox_thumbnails": "Thumbnails",
"lightbox_download": "Download",
"lightbox_share": "Share",
"lightbox_zoom": "Zoom",
"lightbox_new_window": "New window",
"lightbox_toggle_sidebar": "Toggle sidebar"
}
Device Specification:
For integrating Huawei CaaS, the phone should support the MeeTime service, and run EMUI 10.0 or a later version. The Kirin 980 and Kirin 990 chipsets are currently supported. This capability will be gradually expanded to support the Kirin 710, Kirin 810, Kirin 970, and later chipsets.
CaaS Features:
Huawei CaaS provides higher image quality with lower bandwidth requirement.
It delivers clear visual and a smooth video stream in real time, even when the signal is poor.
It detects intelligently the bandwidth, then uses seamless software and hardware collaboration to maintain a stable connection.
CaaS functionality can be classified into three types:
Voice and video calls with virtualized devices
Screen sharing
In-app calling
Voice and video calls with virtualized devices:
It allows developers to easily incorporate video calling into apps, and can define the video source themselves.
For example, Motion camera can be virtualized and can serve as phones camera which helps to make one-on-one video calls, even during athletic activities.
It is necessary to register virtual device before the call. Following are the processes for virtual camera registration:
The developer uses CaaS Kit to initiate the CaaS service.
The CaaS service initiates the DeviceVirtualization service.
The DeviceVirtualization service sends the broadcast to discover virtual devices.
The developers app receives the broadcast and links to the DeviceVirtualization service.
The DeviceVirtualization service registers the virtual camera, and sends the virtual cameraId to the CaaS service.
The CaaS service provides access to the video call in the app
Following are the processes of video call:
The user initiates a video call through the floating window.
The CaaS service enables the virtual camera using the standard Android API.
The camera service invokes the DeviceVirtualization service.
The DeviceVirtualization service uses a callback to obtain the video stream from the virtual camera interface.
After the video stream is virtualized, it is returned to the CaaS service using the standard Android API.
The CaaS service obtains the video stream through the standard Android camera API to implement video calling with the other device.
Release resources after using the CaaS service.
Screen Sharing:
It enables real-time content sharing within applications.
For example, we can show phone operations for friends and designers can show designs to the clients who were in different locations and clients can make comments, and suggest revisions.
Following are the processes for screen sharing:
Initialize the CaaS service.
Query whether there is any contact supporting the MeeTime screen sharing feature.
Display an entry to screen sharing for the user.
The user touches the entry to bring up the contact list, and selects a contact to start screen sharing.
Release resources after using the CaaS service.
In-app Calling:
It enables one-touch voice and video calls within applications.
Following are the processes for In-app calling:
Initialize the CaaS service.
Call the CaaS service API to query, if the number supports voice calls, or support both voice call and video calls.
CaaS service returns the query result.
The application is notified, if the MeeTime capability is supported, and will display an entry to MeeTime call.
Call the CaaS service API to initiate a voice or video call.
Release resources after using the CaaS service.
CaaS Classes:
CaaS uses the following classes for initialization, communication and resource release processes.
HwCaasServiceManager
The class is used to Initialize CaaS service and release resources after using the CaaS service. It contains methods such as init, initHandler and release
HwCaasHandler
The class provides APIs for communicating with the CaaS service. For the communication it uses the methods such as setCallAbilityCallBack, sendEventToCaasService, setFloatViewLocation, queryCallAbility, makeCall etc.
HwCaasUtils
This class is used to define CaaS service constants such as STARTVIEW, VIDEOVIEW, SCREEN_SHARING_TYPE, NORMAL_CALL_TYPE, CAAS_NOT_SUPPORT, ABILITY_NOT_SUPPORT etc.
Conclusion:
Communication as a Service (CaaS) plays an important role in business, education and entertainment by providing economical and high quality communication. It overcomes the distance and gives a real time experience even in lower bandwidth and poor network and also helps drone or motion camera to be virtualized and provide seamless experience.
Reference:
https://developer.huawei.com/consumer/en/doc/development/connectivity-Guides/caaskitlite-virtualcamera-introduction-0000001051089010
March 15 - HMS Core 5.2.0 is now official!
This issue introduces Huawei Network Kit, which gives your networks higher bandwidth and lower latency. New features are available in other kits as well – channel analysis reports in Analytics Kit, and custom special effects of volumetric clouds in Computer Graphics Kit.
Get the details on this update:
https://developer.huawei.com/consum...es/hmssdk-kit-0000001050042513?ha_source=hms3
{
"lightbox_close": "Close",
"lightbox_next": "Next",
"lightbox_previous": "Previous",
"lightbox_error": "The requested content cannot be loaded. Please try again later.",
"lightbox_start_slideshow": "Start slideshow",
"lightbox_stop_slideshow": "Stop slideshow",
"lightbox_full_screen": "Full screen",
"lightbox_thumbnails": "Thumbnails",
"lightbox_download": "Download",
"lightbox_share": "Share",
"lightbox_zoom": "Zoom",
"lightbox_new_window": "New window",
"lightbox_toggle_sidebar": "Toggle sidebar"
}
New Kits
Network Kit:
The on-device SDK of Network Kit provides:
(1) A network request framework based on RESTful APIs, helping accelerate the access speed and reduce network latency, while also supporting smooth network migration in weak network environments.
(2) A file upload and download function, based on multi-task and multi-thread technologies. It fully utilizes network bandwidth resources and supports resumable data transfer, resulting in a notably enhanced user experience during file uploading and downloading.
(3) A range of network acceleration services, including hQUIC Kit and Wireless Kit. Integrating Network Kit brings about an all-link acceleration experience. The Kit supports HMS Core ecosystem partners in industries like game and e-commerce in developing mobile apps with lower latency and higher throughput
Learn More
New features
Analytics Kit:
Added the channel analysis report, which offers a number of analytical dimensions, including new users, active users, total users, and day-2 retention. These indicators help you comprehensively evaluate the quantity and quality of new users acquired from each app store, boosting your ROI.
Upgraded install attribution. This function is now capable of intelligently distinguishing between paid traffic and organic traffic, as well as tracking app installation sources, helping acquire new users more accurately.
Provided a rich range of user profile tags, including App uninstalled, Consecutive active days, and Consumption times tier in last 6 months, which enable you to perform targeted operations and precision marketing.
Added the SDK for quick apps, satisfying the requirements for unified analysis of user behavior.
Learn More
ML Kit:
Added Bulgarian and Croatian to the list of languages supported by real-time translation.
Added Persian, Latvian, and Khmer to the list of languages supported by on-device language detection.
Added support for the function which obtains the list of supported languages for automatic speech recognition, audio file transcription, and real-time transcription.
Added support for the recognition of hair for image segmentation.
Learn More
Video Kit:
Added the pre-loading function. It enables quick starting of videos, improving user experience.
Added the live streaming function. It enables live videos to play with low latency, which can be widely used in live streaming industries such as online education.
Added support for switching between multiple embedded audio tracks and subtitle tracks.
Learn More
Audio Kit :
Enriched audio experience for users by:
Supporting audio playback in chunks. For example, audio files stored on cloud can be played.
Supporting playing audio files in the APK, which is useful in playing audio like special sound effects and background music.
Learn More
CG Kit :
Added the special effects of volumetric clouds. It allows you to customize volumetric clouds and achieve immersive rendering effects on the Android platform, giving gamers the impression that they are hovering amidst actual clouds.
Learn More
Audio Kit :
Enriched audio experience for users by:
Supporting audio playback in chunks. For example, audio files stored on cloud can be played.
Supporting playing audio files in the APK, which is useful in playing audio like special sound effects and background music.
Learn More
Made necessary updates to other kits. Learn More
New Resources
Network Kit :
Sample Code: Added hms-network-demo. The demo illustrates how to integrate Network Kit, make synchronous and asynchronous network request by using HttpClient and RestClient, and use the Kit to upload and download files.
Learn More
Health Kit :
Sample Code: Updated hms-health-demo-kotlin and hms-health-demo-java. Added the readLatestData API to the DataController class to read the latest data point of a specified data type list.
Learn More
For more details, you can go to:
l Our official website
l Our Development Documentation page, to find the documents you need
l Reddit to join our developer discussion
l GitHub to download demos and sample codes
l Stack Overflow to solve any integration problems
when will be launched new version of Map Kit?
March 15 - HMS Core 5.2.0 is now official! This issue introduces Huawei Network Kit, which gives your networks higher bandwidth and lower latency. New features are available in other kits as well – channel analysis reports in Analytics Kit, and custom special effects of volumetric clouds in Computer Graphics Kit.
Get the details on this update:
https://developer.huawei.com/consum...es/hmssdk-kit-0000001050042513?ha_source=hms3
{
"lightbox_close": "Close",
"lightbox_next": "Next",
"lightbox_previous": "Previous",
"lightbox_error": "The requested content cannot be loaded. Please try again later.",
"lightbox_start_slideshow": "Start slideshow",
"lightbox_stop_slideshow": "Stop slideshow",
"lightbox_full_screen": "Full screen",
"lightbox_thumbnails": "Thumbnails",
"lightbox_download": "Download",
"lightbox_share": "Share",
"lightbox_zoom": "Zoom",
"lightbox_new_window": "New window",
"lightbox_toggle_sidebar": "Toggle sidebar"
}
New Kits
Network Kit:
The on-device SDK of Network Kit provides:
(1) A network request framework based on RESTful APIs, helping accelerate the access speed and reduce network latency, while also supporting smooth network migration in weak network environments.
(2) A file upload and download function, based on multi-task and multi-thread technologies. It fully utilizes network bandwidth resources and supports resumable data transfer, resulting in a notably enhanced user experience during file uploading and downloading.
(3) A range of network acceleration services, including hQUIC Kit and Wireless Kit. Integrating Network Kit brings about an all-link acceleration experience. The Kit supports HMS Core ecosystem partners in industries like game and e-commerce in developing mobile apps with lower latency and higher throughput.
Learn More
New features
Analytics Kit:
Added the channel analysis report, which offers a number of analytical dimensions, including new users, active users, total users, and day-2 retention. These indicators help you comprehensively evaluate the quantity and quality of new users acquired from each app store, boosting your ROI.
Upgraded install attribution. This function is now capable of intelligently distinguishing between paid traffic and organic traffic, as well as tracking app installation sources, helping acquire new users more accurately.
Provided a rich range of user profile tags, including App uninstalled, Consecutive active days, and Consumption times tier in last 6 months, which enable you to perform targeted operations and precision marketing.
Added the SDK for quick apps, satisfying the requirements for unified analysis of user behavior.
Learn More
ML Kit:
Added Bulgarian and Croatian to the list of languages supported by real-time translation.
Added Persian, Latvian, and Khmer to the list of languages supported by on-device language detection.
Added support for the function which obtains the list of supported languages for automatic speech recognition, audio file transcription, and real-time transcription.
Added support for the recognition of hair for image segmentation.
Learn More
Video Kit:
Added the pre-loading function. It enables quick starting of videos, improving user experience.
Added the live streaming function. It enables live videos to play with low latency, which can be widely used in live streaming industries such as online education.
Added support for switching between multiple embedded audio tracks and subtitle tracks.
Learn More
Audio Kit :
Enriched audio experience for users by:
Supporting audio playback in chunks. For example, audio files stored on cloud can be played.
Supporting playing audio files in the APK, which is useful in playing audio like special sound effects and background music.
Learn More
CG Kit :
Added the special effects of volumetric clouds. It allows you to customize volumetric clouds and achieve immersive rendering effects on the Android platform, giving gamers the impression that they are hovering amidst actual clouds.
Learn More
Audio Kit :
Enriched audio experience for users by:
Supporting audio playback in chunks. For example, audio files stored on cloud can be played.
Supporting playing audio files in the APK, which is useful in playing audio like special sound effects and background music.
Learn More
Made necessary updates to other kits. Learn More
New Resources
Network Kit :
Sample Code: Added hms-network-demo. The demo illustrates how to integrate Network Kit, make synchronous and asynchronous network request by using HttpClient and RestClient, and use the Kit to upload and download files.
Learn More
Health Kit :
Sample Code: Updated hms-health-demo-kotlin and hms-health-demo-java. Added the readLatestData API to the DataController class to read the latest data point of a specified data type list
Learn More
For more details, you can go to:
l Our official website
l Our Development Documentation page, to find the documents you need
l Reddit to join our developer discussion
l GitHub to download demos and sample codes
l Stack Overflow to solve any integration problems
Original Source