A UGSV SDK license is used to activate the use rights of the UGSV SDK. You can apply for, renew, and view a trial license in the console. For more information on UGSV SDK features, please see UGSV.
You can apply for a trial license to try out various features available in the UGSV SDK Basic Edition for free. The license is valid for 14 days upon initial application and can be renewed for 14 days (with a validity period of up to 28 days). The steps are as follows:
Click Apply Now to access the license configuration page and enter the
Package Name, and
Click Create for Free.
After the free trial license is successfully created, the page will display the information of the generated license. You need to pass in two parameters
LicenseUrl during initial SDK configuration. Please store the following information properly.
You can check the validity period of the trial license in the VOD console, which is up to 28 days. Before the trial license expires in 14 days after application, you need to renew it by following the steps below:
Go to the UGSV SDK License page and click Renew in the top-right corner of the trial license section.
After the pop-up window prompts that the renewal is successful, the Renew button in the top-right corner will disappear, indicating that the trial license is renewed for 14 days.
After the license is configured successfully, wait for a while (subject to the network conditions) and then you can view the license information by calling the following methods:
NSLog(@"%@", [TXUGCBase getLicenceInfo]);
Call the following methods to configure the license before calling the relevant APIs of the SDK:
[TXUGCBase setLicenceURL:LicenceUrl key:Key];
TXUGCBase.getInstance().setLicence(context, LicenceUrl, Key);