10 2020 档案

摘要:关于拉伸问题,要使预览不变形,需要使用Matrix: 首先把视频区移动到View区,使两者中心点重合。 matrix.preTranslate((textureViewWidth - viewWidth) / 2, (textureViewHeight - viewHeight) / 2); 其次, 阅读全文
posted @ 2020-10-19 17:30 Sharley 阅读(4041) 评论(0) 推荐(0) 编辑
摘要:运行相机demo时在页面退出和相机横竖屏切换(横竖屏切换本身也会重启页面)报错如下: E/CameraDeviceGLThread-0: Received exception on GL render thread: java.lang.IllegalStateException: glDrawAr 阅读全文
posted @ 2020-10-14 14:30 Sharley 阅读(982) 评论(0) 推荐(0) 编辑

点击右上角即可分享
微信分享提示