When I am using this code.For 8mp camera with SOME_VALUE=0 : video quality is higher then 2mp camera with SOME_VALUE=10
Intent intent = new Intent(android.provider.MediaStore.ACTION_VIDEO_CAPTURE);
intent.putExtra(android.provider.MediaStore.EXTRA_VIDEO_QUALITY, SOME_VALUE);
startActivityForResult(intent, REQUEST_VIDEO_CAPTURED);
So how can I make some consistency in video quality(like set resolutions) for any device using code?