String licenseUrl = "Enter the URL of the License you purchased";String licenseKey = "Enter the Key of the License you purchased"TXLiveBase.getInstance().setLicence(context, licenseUrl, licenseKey);
NSString *licenseURL = "Enter the URL of the License you purchased";NSString *licenseKey = "Enter the Key of the License you purchased"[TXLiveBase setLicenceURL:licenseURL key:licenseKey];
@Overridepublic void onPlayEvent(TXVodPlayer player, int event, Bundle param) {if (event == TXLiveConstants.PLAY_EVT_VOD_PLAY_PREPARED) {// Enable the terminal VR panoramic video monocular mode. If you need to enable the binocular mode, set the value to '12'.mVodPlayer.setStringOption("PARAM_MODULE_TYPE", 11);}}// Disable terminal VR panoramic video.mVodPlayer.setStringOption("PARAM_MODULE_TYPE", 0);
// Enable VR panoramic video monocular mode. If you need to enable the binocular mode, set the value to '12'.// Note: The settings for enabling VR panoramic video need to be set before the player starts playing, or if you set them during the playback process, you need to restart the playback after the setting.// It is recommended to add a switch animation here.NSMutableDictionary *extInfoMap = [NSMutableDictionary dictionary];[extInfoMap setObject:@"11" forKey:@"PARAM_MODULE_TYPE"];[_txVodPlayer setExtentOptionInfo:extInfoMap];// Disable terminal VR panoramic video.[extInfoMap setObject:@"0" forKey:@"PARAM_MODULE_TYPE"];
TXVodPlayConfig playConfig = new TXVodPlayConfig();playConfig.mEnableRenderProcess = false;mVodPlayer.setConfig(playConfig);
TXVodPlayConfig *playConfig = [[TXVodPlayConfig alloc] init];playConfig.enableRenderProcess = NO;[_txVodPlayer setConfig:playConfig];
-keep class com.tencent.** { *; }
D/HostEngine-PluginManger: [loadPlugin], succeed loading pluginId=2 ,pluginClazzName=com.tencent.liteav.monet.MonetPlugin
D/MonetPlugin-Process: [updateModule], moduleType=11
E/MonetPlugin-Process: [updateModule], error, reason = license is invalid!!
[PluginsSDK] plugin config : pluginId = 2, pluginName = Monet
[MonetProcessor] PLUGIN: did update monet module, result = 1
[MonetProcessor] Monet License invalid, error, set module is null
Feedback