All Products
Search
Document Center

Apsara Video SDK:Compliance configuration guide for ARTC SDK for HarmonyOS

Last Updated:Feb 18, 2025
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.

1. Version of ARTC SDK for HarmonyOS

Make sure that you use the latest version of ApsaraVideo Real-time Communication (ARTC) SDK for HarmonyOS. For information about how to download the latest version of the SDK, see SDK download.

2. Permissions on ARTC SDK for HarmonyOS and application time

Permission related to personal information

Required

Permission application time

Purpose

INTERNET

Yes

The time when you create an RTC engine instance.

This permission allows the SDK to connect to the Internet for joining meeting and troubleshooting data. This is the basic permission for network connection.

CAMERA

No

The time when you join an RTC video call.

This permission allows the SDK to collect video data from the camera. The collected video data is used for RTC video calls. This permission is not required for audio-only calls.

MICROPHONE

Yes

The time when you join an RTC video call.

This permission allows the SDK to collect audio data from the microphone. The collected audio data is used for RTC audio and video calls.

GET_NETWORK_INFO

Yes

The time when you join an RTC video call.

This permission allows the SDK to view the network status for RTC audio and video quality optimization, encoding optimization, and error reporting.

KEEP_BACKGROUND_RUNNING

No

The time when you push streams to the background.

(Optional) This permission allows the SDK to collect audio and video data in the background. If you do not configure this permission for the SDK, the call ends when you push streams to the background.

3. Features of ARTC SDK for HarmonyOS and required personal information

Feature

Collected personal information field

Purpose of personal information collection

Configuration and example

Real-time audio and video communication

UUID

The UUID is used for performance tuning and failure analysis.

No configuration is required.

Real-time audio and video communication

Device model

The device model is used for performance tuning and failure analysis.

No configuration is required.

Real-time audio and video communication

IP address

1. The IP address is used to call the server API operations of the SDK.

2. The IP address is used for performance tuning and failure analysis.

No configuration is required.

Real-time audio and video communication

Wi-Fi status

The Wi-Fi status is used to identify the Wi-Fi connectivity.

No configuration is required.

Real-time audio and video communication

Carrier information

The carrier information is used to select and optimize network connections.

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

5. Initialization solution

Important

Before you use ARTC SDK for HarmonyOS, make sure that the SDK is initialized and the end users agree to the privacy policy.

  /**
   * SDK method for creating an RTC engine instance.
   */
export class AliRtcEngine {
  /**
   * Query the information about the RTC engine instance.
   */
  public static getInstance(extras: string, context : common.Context): AliRtcEngine
}