-
Notifications
You must be signed in to change notification settings - Fork 60
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
com.herohan.uvcapp D/UVCCamera: setPreviewSize:-51 #1
Comments
setPreviewSize函数使用情况是:在预览中,需要改变预览参数(分辨率、预览帧格式、fps)。 |
就是本项目直接运行的,没有修改过代码。 |
那看来是库的问题,你能在onCameraOpen回调函数里面,调用一下getSupportedFormatList(), getSupportedSizeList(), getPreviewSize()这三个函数,然后把三个函数的返回结果的具体内容发一下吗 |
或者把logcat里面关于“com.herohan.uvcapp I/CameraInternal: supportedSize”的日志发一下 |
2020-01-08 04:50:25.652 1525-1525/com.herohan.uvcapp V/MainActivity: clearCameraHelper: |
无法预览的原因是获取不到摄像头预览需要参数,能把下面的apk安装一下,运行一下(这个肯定还是无法预览,但是可以再日志里面输出一下调试信息),把logcat里面的日志再发一下吗 |
2022-05-13 09:35:37.044 1881-1881/com.herohan.uvcapp V/MainActivity: clearCameraHelper: |
方便留个联系方式吗 |
wx号:hanshiying007 |
你好,无法预览,报错了,是为什么呢?
com.herohan.uvcapp E/libUVCCamera: [1797*UVCPreview.cpp:544:prepare_preview]:could not negotiate with camera:err=-51
The text was updated successfully, but these errors were encountered: