Why camera2 supported preview size width always bigger than height?
问题 I'm working on a project which using camera2 API. When I get the list of supported output preview size using: StreamConfigurationMap map = characteristics.get(CameraCharacteristics.SCALER_STREAM_CONFIGURATION_MAP); Size[] choices = map.getOutputSizes(SurfaceTexture.class); the output size list always return values which have width>height despite the fact that screen's width When I use getResources().getDisplayMetrics() (or any similar method) to check width/height it's always return width And