Firefox 54(ubuntu 14.04):Twilio视频getUserMedia失败 [英] Firefox 54 (ubuntu 14.04): Twilio video failed getUserMedia
问题描述
2017-06-30 08:42:02.920Z |在[createLocalTracks#1]中警告:对getUserMedia的调用失败:MediaStreamError {名称:"InternalError",消息:开始视频失败",约束:",堆栈:"} twilio-video.min.js:92:26979 无法访问本地媒体MediaStreamError {名称:"InternalError",消息:开始视频失败",约束:",堆栈:"}}
2017-06-30 08:42:02.920Z | WARN in [createLocalTracks #1]: Call to getUserMedia failed: MediaStreamError { name: "InternalError", message: "Starting video failed", constraint: "", stack: "" } twilio-video.min.js:92:26979 Unable to access local media MediaStreamError { name: "InternalError", message: "Starting video failed", constraint: "", stack: "" }
推荐答案
此处是Twilio开发人员的福音.
Twilio developer evangelist here.
您在这里遇到系统资源问题.一个应用程序一次只能访问摄像机,因此,如果Chrome正在使用该应用程序,则Firefox无法访问它.
You have an issue with system resources here. One app can only get access to the camera at a time, so if it's being used by Chrome, then Firefox can't access it.
我建议仅在一个浏览器中进行测试(可能使用私有模式),以便您可以以其他用户身份登录.
I recommend just testing in one browser, possibly using private mode so you can log in as a different user.
当您也无法访问相机时,请确保处理错误情况.
Make sure you handle the error case when you can't get access to the camera too.
这篇关于Firefox 54(ubuntu 14.04):Twilio视频getUserMedia失败的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!