All Products
Search
Document Center

ApsaraVideo Live:License Integration Guide

Last Updated:Feb 04, 2026

The Push SDK requires a license to enable stream ingest. This topic describes how to obtain and integrate the Push SDK license.

All-in-one license

The Push SDK uses the all-in-one license service from ApsaraVideo. This license authorizes multiple software development kits (SDKs) for your app, such as the Push SDK and Queen SDK. The LicenseKey and LicenseFile (certificate file) are the same for all services that use the all-in-one license. You only need to configure them once. Make sure to use the latest certificate file.

Apply for a license

For instructions, see All-in-one license 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 another location. However, you must make sure that the value of com.aliyun.alivc_license.licensefile in Step 2 matches the path of the license file.

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

    Important

    If license verification fails after configuration, check whether the <meta-data> node is under the <application> element and whether the name attribute of the <meta-data> node is 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 the specified directory in your Xcode project, and select the current project in Target Membership.

    image.png

  2. Open Info.plist. Set AlivcLicenseKey to your license key and AlivcLicenseFile to the path of your license file.

Integrate the license on Flutter

Flutter is a cross-platform solution from Google. For Flutter applications, you must integrate the native licenses for each target platform. For more information, see Configure the license on Android or Configure the license on iOS.

Related documents