Skip to content
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

三星note4切换摄像头报错 #16

Open
xfs2017 opened this issue Jul 6, 2017 · 5 comments
Open

三星note4切换摄像头报错 #16

xfs2017 opened this issue Jul 6, 2017 · 5 comments
Labels

Comments

@xfs2017
Copy link

xfs2017 commented Jul 6, 2017

三星note4,note5都无法切换摄像头

@werbhelius werbhelius added the bug label Jul 6, 2017
@JiaWeiWan
Copy link

我的三星手机也是遇到了这个问题setParameters failed。目前没有找到解决方法!

@werbhelius
Copy link
Owner

其他手机呢?可能是相机参数不兼容

@xfs2017
Copy link
Author

xfs2017 commented Jul 28, 2017

暂时没有测试其他手机,请问怎么在录制视频的时候切换摄像头呢?

@Pinggo
Copy link

Pinggo commented Oct 31, 2017

我也遇到了,去掉参数中的setFocusMode就行,官方例子没加这个。

@Pinggo
Copy link

Pinggo commented Oct 31, 2017

查了资料运行调试发现前置的模式设置成了auto。楼主的代码
image
这里加个if判断就行了。

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

4 participants