This topic describes how to get started with ApsaraVideo MediaBox SDK.
Step 1: Understand the features of MediaBox SDK
ApsaraVideo MediaBox SDK offers four integrated SDKs tailored for various scenarios: SDK for basic streaming, SDK for interactive streaming, SDK for short videos, and all-in-one SDK.
Feature | Player SDK | Push SDK | ARTC SDK | Short Video SDK | Queen SDK |
Live streaming by streamer | Supported | ||||
| Supported (available in Interactive Edition) | Supported | |||
Audio and video call | Supported | ||||
Video recording | Supported | ||||
Video editing | Supported | ||||
Video upload | Supported | ||||
Live streaming | Supported | ||||
VOD | Supported | ||||
Retouching | Supported | ||||
Gesture recognition | Supported | ||||
Chroma key | Supported |
Step 2 (Optional): Try a demo of ApsaraVideo MediaBox SDK
Scan the following QR code to download and install a demo of ApsaraVideo MediaBox SDK.

For more information about the demo source code, see Demo.
Step 4: Apply for a license
Step 1: Create an application
Go to the My Licenses page in the VOD console, select the Application Management tab, and click Create Application.

Edit the application information. Applications are categorized by client type: Web and Mobile.
Web: Enter an Application Name and Web Domain Name.

Notes on web domain name:
Correct format example: aliyun.com.
ImportantTo cover multiple subdomains (for example, pc.aliyun.com and mobile.aliyun.com), enter the root domain: aliyun.com.
Incorrect format examples:
Including a protocol: http://aliyun.com or https://aliyun.com.
Including a path or subpage: aliyun.com/index or aliyun.com/login.
Using a wildcard domain name: *.aliyun.com or .aliyun.com.
Mobile: Enter an Application Name, Android Package Name, iOS BundleID, and HarmonyOS BundleID based on the platforms you select.

Associate an Android application signature
NoteThis field is required if you select Android for Platform Type and check Associate Signature.
Associating an application signature enhances security and prevents other applications with the same package name from using your license.
Newer SDK versions do not require you to associate an application signature. These versions include: 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.
Obtain the MD5 hash of an Android application signature in one of two ways:
Via command line: Run
keytool -v -list -keystore your.keystoreto view the MD5 hash of the corresponding signature.Via Android Studio: In the right-hand sidebar, navigate to Gradle > Tasks > android > signingReport. When using this method, convert all letters in the MD5 hash to lowercase and remove the colons.

Step 2: Purchase a license
If you have already purchased a license, proceed to Step 3: Associate a license.
Return to the My Licenses page, select the Instance tab, and click License Purchase.

On the ApsaraVideo MediaBox SDK purchase page, select the SDK and feature modules you need. Confirm your selections and complete the purchase.
After payment, return to the Instance tab. You will see the newly purchased instance.
Step 3: Associate a license
Return to the My Licenses page, select the License Management tab, and click Associate License.

On the Associate License page, select the application and the corresponding SDK license order. After confirming the information, click Associate.
NoteYou can associate each license order with a maximum of one application, covering web and mobile platforms.

After the association is successful, return to the License Management tab. You will see the name of the associated application and its authorization information.
Step 4: Obtain authorization information
On the License Management tab, find the target application.

Confirm that the authorization information is correct. Click Download Certificate to download the license certificate file. Save the License Key to integrate into your application. To configure the license file, see Bind a license.
Step 5: Integrate ApsaraVideo MediaBox SDK and configure the license
For more information, see Quick integration.
Step 6: Implement business logic based on your requirements
For more information, see Integration by module.