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

用后置摄像头比较模糊,但是前置摄像头不存在这个问题 #7

Open
DearZack opened this issue Feb 6, 2017 · 2 comments

Comments

@DearZack
Copy link

DearZack commented Feb 6, 2017

请问是什么造成的?应该哪里设置一下参数?

@runner365
Copy link
Owner

前后摄像头的分辨率设置都是一样的,一个清楚,一个不清楚,看看是不是镜头没擦干净,应该和编码没有关系。

@DearZack
Copy link
Author

DearZack commented Feb 6, 2017

不是镜头不干净的原因。
我试了两只测试机都有这个现象。
你demo的代码中默认打开的是前置摄像头,我改成了后置摄像头,这时候的清晰度会稍微好一些,不过服务器收到的视频数据图像被转了180度,点击“切换”按钮后,前置摄像头的清晰度有所下降。
麻烦帮我看看这个现象产生的原因,万分感谢。

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

No branches or pull requests

2 participants