Compliance configuration guide for ApsaraVideo Player SDK for HarmonyOS

Updated at:
Note

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

Important

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