Short Video SDK and License FAQ

Updated at:

Find answers to common questions about short video SDK usage, trials, purchases, and licenses.

How to request a trial of the short video SDK

You can request a trial in the ApsaraVideo VOD console. Go to SDK Management > My Licenses. For more information, see Get a short video SDK license.

How to use the short video SDK for free

You can use the short video SDK for free by purchasing an ApsaraVideo VOD plan. For more information, see Get a short video SDK license.

How to purchase the Professional Edition of the short video SDK

You can purchase the Professional Edition of the short video SDK in two ways:

For more information about the differences between the Professional Edition and other editions, see Feature list.

What to do if a 'License Failed' error occurs

During license validation, the short video SDK automatically retrieves the package name of your application (BundleID for iOS and PackageName for Android). The SDK then sends a validation request to the online certificate service based on the configured LicenseKey and completes certificate retrieval to obtain the latest certificate information. With this validation mechanism in mind, troubleshoot the error as follows:

  1. Ensure that your purchased, complimentary, or trial short video SDK license has not expired and is authorized. For information about how to check the license expiration date, see Get a short video SDK license.

  2. Confirm that the information provided for the trial application is correct.

    • For iOS, ensure that the application bundle ID matches the bundle ID used in your request.

    • For Android, ensure that the package name and signature information (MD5) are correct. You can obtain the package name and signature information in two ways:

      • Method 1: Use the signature acquisition tool. Install the tool and follow the instructions to obtain the correct package name and signature information.

      • Method 2: Download the SignatureUtils.java script to your computer. Then, call the SignatureUtils#getSingInfo(Context context) method to obtain the package name and signature information.

        Note

        GitHub is a third-party website. You may experience access failures or delays.

How to check the review status or receive notifications after submitting a License application

After you submit a License application, wait for the processing to complete. You can check the review status through the following channels:

  • After your application is approved, the system notifies you of the result by email.

  • You can also log on to the ApsaraVideo VOD console and choose SDK Management > My Licenses to check whether the license has been issued for the corresponding application.

How to specify a License domain name in an internal-network test environment that uses an IP address or hosts file mapping

During initialization, specify the production domain name that you registered when you applied for the License. License validation requires the page domain name to be identical to the registered domain name or to be a subdomain of it. This requirement applies even if you access the page through a hosts file mapping or an IP address. If you cannot configure a domain name in the internal-network test environment, apply for a test domain name and bind it to the internal-network IP address so that validation succeeds.

Does AliPlayer License support the vscode-webview protocol scheme or regular expressions?

No. The License domain name configuration supports only a primary domain name, such as cloudlab.top. The configuration does not support a wildcard domain name, a regular expression, a protocol scheme, or a path. In VSCode Webview, window.location.hostname is a random hash that changes each time, so you cannot configure a matching domain name in the console. A License validation failure in this environment cannot be resolved through configuration.

How to troubleshoot 'File loading failed' or 'Cannot find the referenced file' when you use the VOD upload SDK in a uni-app WeChat mini program

To troubleshoot these errors when you use the upload SDK in a uni-app WeChat mini program, follow these steps:

  1. Check the SDK file path. Place the SDK in the utils/ or lib/ directory in the project root, not in the pages/ directory.

  2. Unify the import method. Delete all import statements and keep only const VODUploadModule = require('...').

  3. Move the SDK initialization logic to the onMounted lifecycle hook and use try-catch to capture exceptions so that they do not block component rendering.

  4. Build the project as a WeChat mini program, run it in WeChat DevTools, and check the console for the specific JavaScript error.

What to do if an order number is incorrect when you bind an order

Complete the purchase first to obtain a valid order number, and then bind an order. (Recommended) Use a bundle purchase for a more favorable price.

What to do if an 'Invalid License' error occurs

Make sure the license edition you requested matches the edition you are using. This error occurs when you use a different edition or an unauthorized feature. Switch to the license that corresponds to your requested edition.

How to handle exceptions after you upgrade to version 7.0.0

Version 7.0.0 of the short video SDK no longer has Basic, Standard, or Professional editions. Features are now determined by license validation. After upgrading to version 7.0.0, you must reconfigure the license file to avoid exceptions.

What are the differences between face stickers, face AR, and animated stickers?

Face stickers use facial recognition during video recording to overlay stickers on detected faces. This feature is available only in the Professional Edition. Face AR is part of the Queen SDK and requires separate authorization. Animated stickers are a video editing feature available only in the Professional Edition.