String licenseUrl = "填入您购买的 License 的 URL";String licenseKey = "填入您购买的 License 的 Key"TXLiveBase.getInstance().setLicence(context, licenseUrl, licenseKey);
NSString *licenseURL = "填入您购买的 License 的 URL";NSString *licenseKey = "填入您购买的 License 的 Key"[TXLiveBase setLicenceURL:licenseURL key:licenseKey];
@Overridepublic void onPlayEvent(TXVodPlayer player, int event, Bundle param) {if (event == TXLiveConstants.PLAY_EVT_VOD_PLAY_PREPARED) {//开启终端VR全景视频单目模式,如需开启双目模式,vaule设为“12”即可mVodPlayer.setStringOption("PARAM_MODULE_TYPE", 11);}}//关闭终端VR全景视频mVodPlayer.setStringOption("PARAM_MODULE_TYPE", 0);
//开启VR全景视频单目模式,如需开启双目模式vaule设为“12”//注意:VR全景视频的开启设置需要在播放器播放之前,或者如果在播放过程中进行设置,在设置以后需要重启一下//播放,建议这里可以做一个切换动画NSMutableDictionary *extInfoMap = [NSMutableDictionary dictionary];[extInfoMap setObject:@"11" forKey:@"PARAM_MODULE_TYPE"];[_txVodPlayer setExtentOptionInfo:extInfoMap];//关闭VR全景视频:[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
文档反馈