All Products
Search
Document Center

ApsaraVideo Live:Integrate SDK license

Last Updated:Nov 11, 2025

The Push SDK requires a license to enable stream ingest. This guide explains how to get and integrate the license for the Push SDK.

All-in-one license

Alibaba Cloud media services provide an all-in-one license that authorizes access multiple SDKs, such as Push SDK and Queen SDK. Both the license key and file are shared for all supported SKDs and need to be configured just once. Note: Use the latest license file.

Apply for a license

To apply for a license, see Request a license for authorization.

Configure the license

Configure the license on Android

  1. (Recommended) Copy the license file to the assets directory in your Android Studio project.

    Note

    You can also copy the license file to a different directory. However, you must make sure the value for com.aliyun.alivc_license.licensefile in Step 2 points to the correct license file path.

  2. Add <meta-data> elements to the AndroidManifest.xml file.

    Important

    If license verification fails after configuration, verify that the <meta-data> elements are inside the <application> element and that their name attributes are correct.

    image

    <meta-data
        android:name="com.aliyun.alivc_license.licensekey"
        android:value="foIV**************************************"/>  <!-- TODO: Set your LicenseKey value -->
    <meta-data
        android:name="com.aliyun.alivc_license.licensefile"
        android:value="assets/cert/release.crt"/>  <!-- TODO: Set your LicenseFile path -->

Configure the license on iOS

  1. Copy the license file to a specified directory in your Xcode project and select the current project in Target Membership.

    image.png

  2. Open Info.plist and update AlivcLicenseKey to your license key and AlivcLicenseFile to your license file path.

Integrate the license on Flutter

Flutter is a cross-platform solution from Google. Integrate the native license separately for each target platform. For detailed steps, refer to Configure the license on Android and iOS.

References