The short video SDK uses licenses for authorization. This topic describes how to obtain and use a license of the short video SDK.

License service update

The license service is introduced for the short video SDK V.3.29.0 and later. The updated license service provides access authorization for all applications that use the short video SDK within an Alibaba Cloud account. The integration method of the short video SDK changes due to the license service update. The following table compares the integration methods of the short video SDK before and after the license service update.
SDK version Integration method
V.3.29.0 and later If you are a new user and want to use the short video SDK V3.29.0 or later, integrate the latest version of the short video SDK by following the instructions in the documentation.
Version earlier than V.3.29.0 If you have integrated the short video SDK of a version earlier than V3.29.0, you can continue using the SDK within the validity period of your license. To update the SDK to V3.29.0 or later, you must call a specific method to register the SDK by using the obtained license key and license file when you integrate the SDK.
Notice The license key and license file are sent to you by email. If you want the email to be resent, contact sales personnel. For more information, see Apply for a license.

Apply for a free trial of a license

To apply for a free trial license of the short video SDK, send the following information to videosdk@service.aliyun.com. After your email is received, Alibaba Cloud approves your request within two business days.
  • Company name
  • Application name
  • SDK edition of which you apply for a trial
  • Contact name
  • Contact number
  • Application bundle ID
  • Package name and signature
    • The MD5 signature is a string of lowercase letters. Do not include colons in the string.
    • You can use a signature tool to obtain the package name and signature. After the signature tool is installed, perform operations as instructed.
  • Alibaba Cloud account or UID

    If you do not have an Alibaba Cloud account, create one first. For more information, see Create an Alibaba Cloud account.

Notice
  • Alibaba Cloud provides a one-month free trial for the license.
  • Make sure that you enter the complete information in the correct format. If information such as the package name, signature file, or bundle ID changes, you must apply for the license again.
  • The free trial of the short video SDK Professional Edition supports features such as advanced retouching, auto chroma key, and gesture recognition. These features are provided by Alibaba Cloud Queen SDK or a third-party SDK. If you want to use these features in the free trial, state relevant information in your request email. The authorization certificate of Queen SDK or the third-party SDK will be sent to you via an email.

Purchase the short video SDK

You can go to the Short Video SDK page to purchase the short video SDK. The price varies based on the features that you select. If you want to purchase the short video SDK and use ApsaraVideo VOD, contact sales personnel or send your contact information and requirements to videosdk@service.aliyun.com to obtain discounts.

The short video SDK provides features such as advanced retouching, auto chroma key, and gesture recognition. These features are separately charged because they are supported by Queen SDK of Alibaba Cloud and third-party SDKs. For more information about Queen SDK, see Queen SDK. If you want to purchase third-party SDKs, contact third-party sales to obtain discounts.

Note One license supports up to three authorized applications and up to 10 shadow applications. You are charged additional fees if you exceed the limit.

Apply for a license

After you purchase the short video SDK, send your order ID, app name, bundle ID, package name, and signature to videosdk@service.aliyun.com. The signature is an MD5 hash value in lowercase without colons (:). After your email is received, Alibaba Cloud issues a license of the short video SDK to you within two business days. If you have urgent needs, contact sales personnel.
Notice
  • If you purchase the short video SDK V3.29.0 or later, the license key and license file are sent to you by email. You must import the license key and license file into the SDK for integration.
  • Make sure that the bundle ID, package name, and signature you send are the same as those in your project.You can use a signature tool to obtain the package name and signature. After the signature tool is installed, perform operations as instructed.
  • In the test scenario, you can use the bundle ID, package name, and signature in the demo to test the short video SDK.
  • Only the latest license file is used for each application within a UID even if you submit multiple applications to obtain licenses for the application. You can use different metadata.

Renew a license

The license of the short video SDK is valid for a specific period. The conditions for determining that the license expires vary based on the SDK version. The following items compare the conditions based on the SDK version:
  • For the short video SDK earlier than V3.29.0:
    • The following value is returned: ALIVC_FRAMEWORK_LICENSE_FAILED(-10011001).
    • One of the following messages is displayed in the log:
      • No network is available for 30 days. The license is disabled. Contact sales personnel for authorization.
      • The license is disabled. Contact sales personnel for authorization.
      • The license is invalid because the package name, bundle ID, and signature are not registered on the official website of the short video SDK. Your seven-day free trial period has ended.
  • For the short video SDK V3.29.0 and later:
    • The following value is returned: ALIVC_FRAMEWORK_LICENSE_FAILED(-10011001).
    • One of the following messages is displayed in the log:
      • The license has expired. Contact sales personnel to renew the license.
      • The license is not initialized. You must integrate the SDK by following the instructions in the documentation.
      • The license is invalid because the package name, bundle ID, and signature are not registered on the official website of the short video SDK. Contact sales personnel for authorization.
      • If you use value-added services, the following information is displayed: XXX is expired. Contact sales personnel to renew the service. XXX indicates the value-added service you use.
      • If you use value-added services, the following information is displayed: XXX is invalid. Contact sales personnel for authorization. XXX indicates the value-added service you use.
Note After your license becomes invalid, obtain the license again. For more information, see Apply for a free trial of a license and Purchase the short video SDK. Alternatively, you can contact sales personnel.