I'm using the gpu-image module, I realize that the performance is bad, the video is quite lagging although the device performance is very good. When I comment these 2 lines, it runs very smoothly; so, having any way to optimize it? Thanks.
CameraCapturerFactory.getInstance().setCustomCameraCapturerOptions(createCustomCameraCapturerOptions());
CameraCapturerFactory.getInstance().setCameraType(CameraCapturerFactory.CameraType.CUSTOM);
I'm using the gpu-image module, I realize that the performance is bad, the video is quite lagging although the device performance is very good. When I comment these 2 lines, it runs very smoothly; so, having any way to optimize it? Thanks.
CameraCapturerFactory.getInstance().setCustomCameraCapturerOptions(createCustomCameraCapturerOptions());
CameraCapturerFactory.getInstance().setCameraType(CameraCapturerFactory.CameraType.CUSTOM);