setdisplayorientation专题

android mCameraInfo.orientation、setDisplayOrientation

mCameraInfo.orientation:从摄像头捕获一帧图片的方向。 比如:米3 前置摄像头camerinfo.orientation == 270(逆时针) 图片旋转90(逆时针)才会显示正确(涉及到的度数都按逆时针旋转)。 后置摄像头camerinfo.orientation == 90,setDisplayOrientation(90)为什么?