Compliance configuration guide for ApsaraVideo Player SDK for HarmonyOS
The application developer must respect and protect the personal information of end users and cannot illegally collect or use it when the application developer provides network services based on the laws, regulations, and regulatory requirements, including Personal Information Protection Law, Data Security Law, and Cybersecurity Law. This guide is provided for developers to implement the protection for user personal information and prevent infringement upon the personal information rights of end users.
Ensure you are using the latest ApsaraVideo Player SDK for HarmonyOS
To download the latest version, see HarmonyOS SDK Release History.
2. Permissions on ApsaraVideo Player SDK for HarmonyOS and application time
Permission related to personal information | Required | Permission application time | Purpose |
INTERNET | Yes | The time when you create a player instance. | This permission allows the SDK to connect to the Internet for stream pulling and data troubleshooting. This is the basic permission for network connection. |
GET_NETWORK_INFO | Yes | Create a player instance. | This permission allows the SDK to view the network status for player troubleshooting and playback quality optimization. |
GET_WIFI_INFO | Yes | You can create a player instance. | View the Wi-Fi network status. This is used for player troubleshooting and playback quality optimization. |
KEEP_BACKGROUND_RUNNING | No | The time when you push streams to the background. | Specifies whether playback continues after the app enters the background. This parameter is optional. By default, playback is interrupted when the app enters the background. |
III. AliyunPlayer SDK Features and Related Personal Information
Feature | Collected personal information field | Purpose of personal information collection | Configuration and example |
Stream pulling and playback | UUID | A unique identifier for an application is calculated by an algorithm and used for performance tuning, fault analysis, and compatibility. | No configuration is required. |
Stream pulling and playback | Device model | Supports performance tuning and fault analysis | No configuration is required. |
Stream pulling and playback | IP address | 1. You can call the SDK's server-side interfaces. 2. Supports performance tuning and fault analysis. | No configuration is required. |
* 4. Optional personal information fields and configuration
Optional personal information field | Purpose of personal information collection | Configuration and example |
N/A | N/A | N/A |
AliyunPlayer SDK Compliance Initialization Configuration
Before you use ApsaraVideo Player SDK for HarmonyOS, make sure that the SDK is initialized and the end users agree to the privacy policy.
export class AliPlayerFactory {
/**
* Create a player instance.
*/
static createAliPlayer(context: Context, traceId?: string): AliPlayer
}6. SDK privacy policy disclosure requirements and examples
Integration note: After you integrate ApsaraVideo Player SDK for HarmonyOS (referred to as the "player SDK") into your app, the player SDK collects the end-user information required for its normal operation to support information push.
Depending on how you integrate the player SDK, your app's privacy policy must disclose specific information about the player SDK. The information includes the SDK name, the company name, the types and purposes of the personal information processed, the collection method, and the privacy policy link.
Confirm the version and feature modules of the player SDK that you have integrated. Determine the data exchanged with the player SDK based on the privacy policy and compliance guide. Disclose the player SDK information to the public in your app's privacy policy in text or list form.
The following disclosure example is for reference only. Follow your actual cooperation terms:
SDK name: ApsaraVideo Player SDK for HarmonyOS
Third-party entity: Alibaba Cloud Computing Co., Ltd.
Purpose of cooperation: To provide app users with video playback and playback quality optimization services
Types of personal information processed and purposes:
Device information (device model, operating system version, screen resolution, hardware manufacturer) — used to adapt decoding capabilities and ensure playback compatibility
Network information (network type, carrier, IP address) — used when you call the server-side interfaces of the SDK, for performance tuning and fault analysis compatibility
Privacy policy link: Privacy policy
7. Description and examples of end-user consent methods
Integration note: Your app must display a privacy prompt dialog when it is launched for the first time. The dialog must show a summary of the privacy policy and provide a link to the full privacy policy. Clearly guide end users to read the privacy policy before they decide whether to accept it. The dialog must include two separate buttons, Agree and Disagree, so that end users make an active choice. Your app must not pre-select an option or make the choice on behalf of the end user.
If your business involves processing sensitive personal information, you must obtain separate authorization and consent from the end user for that processing — for example, through a dedicated dialog. In your app's Privacy Policy, mark the clauses that cover sensitive personal information in bold or another prominent format to ensure that end users can easily notice them.