移除FaceUnity的日志输出

This commit is contained in:
zlzw 2022-09-22 15:25:48 +08:00
parent f52e10b96f
commit a9302d3e54
2 changed files with 5 additions and 17 deletions

View File

@ -60,20 +60,8 @@ public class FaceManager implements SensorEventListener {
}
FaceUnityData.mApplication = context;
OkHttpUtils.getInstance().init(context, false);
FURenderManager.setCoreDebug(FULogger.LogLevel.OFF);
FURenderManager.setKitDebug(FULogger.LogLevel.OFF);
FURenderManager.registerFURender(context, Authpack.A(), new OperateCallback() {
@Override
public void onSuccess(int i, @NonNull String s) {
isInit = true;
}
@Override
public void onFail(int i, @NonNull String s) {
}
});
FURenderer.getInstance().setup(context);
isInit=true;
}
private FURenderer mFURenderer;
@ -82,7 +70,7 @@ public class FaceManager implements SensorEventListener {
* 配置美颜SDK
*/
public void initFURender(Context context) {
FURenderer.getInstance().setup(context);
mFURenderer = FURenderer.getInstance();
mFURenderer.setInputTextureType(FUInputTextureEnum.FU_ADM_FLAG_COMMON_TEXTURE);
mFURenderer.setCameraFacing(CameraFacingEnum.CAMERA_FRONT);

View File

@ -87,8 +87,8 @@ public class FURenderer extends IFURenderer {
*/
@Override
public void setup(Context context) {
FURenderManager.setKitDebug(FULogger.LogLevel.TRACE);
FURenderManager.setCoreDebug(FULogger.LogLevel.DEBUG);
FURenderManager.setKitDebug(FULogger.LogLevel.OFF);
FURenderManager.setCoreDebug(FULogger.LogLevel.OFF);
FURenderManager.registerFURender(context, Authpack.A(), new OperateCallback() {
@Override
public void onSuccess(int i, @NotNull String s) {