All Products
Search
Document Center

ApsaraVideo VOD:Manage licenses

Last Updated:Oct 12, 2024

ApsaraVideo MediaBox SDK integrates Push SDK, Short Video SDK, ApsaraVideo Player SDK, Queen SDK, and client-side AI capabilities to allow you to manage licenses for Android, iOS, HarmonyOS, and web applications in a centralized manner, which simplifies SDK integration. This topic describes how to apply for a license, bind it to an application, and modify information about the bound application.

Service upgrade

The new ApsaraVideo VOD console decouples the process of purchasing a license from creating an application. This allows you to flexibly manage SDK licenses based on your business requirements.

Flowchart

image

Apply for a license

  1. Log on to the ApsaraVideo VOD console.

  2. In the left-side navigation pane, choose SDK Management > My Licenses.

  3. Click the Application Management tab and then click Create Application.

  4. Configure the application information.

    Configure the following parameters: Application Name, Platform Type, Android Package Name, iOS Bundle ID, Web Domain Name, and HarmonyOS Bundle ID. Click Create to create the application.

    image

    Associate the signature of an Android application

    Note
    • The signature is required only if you select Android for the Platform Type parameter and select the Associate Signature option.

    • This operation improves application security and prevents the license from being used by another application with the same package name.

    • The following SDKs do not require a signature: ApsaraVideo MediaBox SDK V1.7.0 and later, ApsaraVideo Player SDK V5.5.2 and later, Push SDK V4.4.9 and later, and Short Video SDK V3.36.0 and later.

    To obtain the MD5 signature of an Android application, you can use one of the following methods:

    • Run the keytool -v -list -keystore your.keystore command to query the MD5 signature.

    • In Android Studio, click the Gradle tab in the right sidebar and choose Tasks > android > signingReport to view the MD5 signature. In this case, you must convert the letters into lowercase and remove semicolons (;) from the obtained MD5 signature.image.png

  5. Click the License Management tab and then click Activate License.image

    • If you have purchased licenses, select an order from the drop-down list.

    • If no orders are available, click Create SDK License Order from the drop-down list.

    To purchase a license, go to the ApsaraVideo MediaBox SDK buy page, select an SDK and the corresponding functional modules based on your business requirements, and then place the order.

    Important

    As shown in the following figure, you can purchase only one SDK in a single order. For example, you cannot purchase ApsaraVideo Player SDK Standard Edition and Short Video SDK Standard Edition in an order.image

  6. Confirm your configurations and click Associate.

    Note

    You can bind a license to only one application across Android, iOS, HarmonyOS, and web platforms.

    image

  7. Download the license file.

    Go back to the License Management tab, find the application that you want to configure, and then click Download Certificate to download the license file. Save the license key displayed below the tab. The license file and key are required to integrate the license into the application project. For more information, see Bind a license.

    image

License expiration

Each service you purchase, such as Short Video SDK and Queen SDK, has a validity period. Your application cannot use an SDK after its license expires. To prevent service interruptions, you must purchase a new license and bind it to your application in the ApsaraVideo VOD console before the expiration date. You can view the expiration date on the License Management tab.

image

Modify information about the bound application

You can modify information about the application bound to a license in the ApsaraVideo VOD console.

Important
  • If you modify the package name or bundle ID, the application may fail to be authorized. In this case, you must download and reintegrate the license file into your application project. Proceed with caution.

  1. Log on to the ApsaraVideo VOD console.

  2. In the left-side navigation pane, choose SDK Management > My Licenses.

  3. Click the Application Management tab, find the application whose information you want to modify, and then click Edit.

  4. Modify the application information, such as the application name, platforms, MD5 signature of the Android application, and application identifiers.

  5. Click Modify to save the changes.

FAQ

FAQ about licenses