phoenix
phoenix copied to clipboard
三星g9550 后置摄像头拍照黑屏
三星g9550 后置摄像头拍照黑屏,版本targetSdkVersion=》27
报错在:CameraDeviceImpl.java ->646 createCaptureSessionInternal(...) ->throw new IllegalArgumentException("Constrained high speed session doesn't supportinput configuration yet.
手机屏幕分辨率高,相机选择的分辨率过高,处理不了。【详见CameraUtils.java的一些转换方法】可以通过限制宽高就能解决这个问题。