I am currently recording the output of vuforia content to the openGL. Everything is fine, except for some phones, I am having issues with video size, as some devices don't support some video sizes. In an example i used to create video codec, they check device camera's supported video sizes creating the recording codec as such:
mCamera = Camera.open(CAMERA_ID);
final Camera.Parameters params = mCamera.getParameters();
However, vuforia hides the Camera api and does not expose that function params.getSupportedPreviewSizes(). How do I get this information from the vuforia's own CameraDevice?