-
Notifications
You must be signed in to change notification settings - Fork 1k
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
是否支持实时拍照? #27
Comments
嗯,ios 目前除了Safari支持getUserMedia,其他浏览器一律都没有开放支持,相应的功能都不能使用。 ios微信里面我提供的解决办法是使用微信自家的jssdk来录音,并没有走getUserMedia。 拍照?😂 你那边试的我的两个测试页面是不是有一个页面在ios微信里面能够录音呀? |
插一句,ios是通过Safari的getUserMedia解决,微信是使用微信自身的jssdk绑定,Android这块怎么实现的方式比较好呢,另外一点,从点开页面到最终弹出获取权限申请,页面还是比较慢的 |
@samzong 哈哈,Android就没什么要考虑的,直接h5录音一把梭,几乎不用考虑兼容性。 要不是苹果市场份额大了点,鬼才去兼容ios 😂,另外目测是苹果故意在UI? WK? WebView里面做的限制。 至于权限,瑟瑟发抖 不敢去研究😊 |
@xiangyuecn 所以说在android 应该不会存在兼容性问题是吧? |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
看了你的原理好像是通过navigation.getUserMedia实现的,但我调试的时候,iOS的微信好像不支持这个接口?想问下您是怎么实现的
The text was updated successfully, but these errors were encountered: