The ApsaraVideo Player SDK requires a license for authorization. This topic explains how to obtain a license through purchase or a free offer, and how to renew it before expiration.
Licensing workflow
Using the Player SDK in your application involves three steps:
-
Obtain a license -- Purchase a paid license or qualify for a free license through eligible spending.
-
Bind the license -- Attach the license to your application in the ApsaraVideo VOD console.
-
Integrate the license -- Add the license credentials (License Key and License File) to your application code.
This topic covers step 1. For steps 2 and 3, see Integrate a license.
Obtain a license
Each license edition provides a specific set of features at its own price point. For a detailed comparison, see Player SDK feature details. For billing questions, see the Player billing FAQ.
Purchase a paid license
Purchase the Player SDK on the ApsaraVideo MediaBox SDK purchase page. After purchase, follow the instructions in Integrate a license to bind and integrate the license.
Qualify for a free license
If your cumulative spending on ApsaraVideo VOD, ApsaraVideo Live, and Intelligent Media Services meets the following threshold within a rolling 31-day window, you qualify for a free Player SDK license.
To apply, visit the Player SDK free offer application.
|
Spending threshold (list price) |
Eligible services |
Purchase amount (USD) |
Offer |
|
>= USD 15,000 |
ApsaraVideo VOD, ApsaraVideo Live, Intelligent Media Services |
Free one-year license for the Player SDK Professional Edition |
The 31-day window is calculated on a rolling basis from T-30 to T, where T is the current date (inclusive) and T-30 is 30 days before the current date (inclusive).
Renew a license
Method 1: Renew from the License Management page
Go to My Licenses in the ApsaraVideo VOD console.
Select the License Management tab. Find and save the Instance ID bound to the target application.
ImportantIf the Instance ID is empty or an error occurs during renewal, use Method 2 or submit a ticket to renew.
Renewal applies to the entire license order. If your order includes multiple SDKs, the renewal process applies to all of them at once. You cannot modify the configuration during renewal. If you have any questions, submit a ticket for assistance.

Go to the Resource Renewal page in the Expenses and Costs console. Use the saved Instance ID to search for your order, then click Renew in the Actions column.
On the SDK renewal page, confirm your current configuration and the purchase duration. Then, click Buy Now to complete the renewal. We recommend selecting Auto-renewal to prevent service interruptions due to expiration.

Method 2: Purchase a new license and bind it to your application
If you have purchased an SDK license and its instance ID is empty, or if an error occurs during renewal, purchase a new license from the bug page before your current license expires. After the purchase, follow the instructions in Step 3: Associate a license. This will prevent business disruptions caused by SDK call failures.