firefox不支持mediastreamtrack.getsources,如何做等效 [英] mediastreamtrack.getsources not supported in firefox, how to do the equivalent
本文介绍了firefox不支持mediastreamtrack.getsources,如何做等效的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!
问题描述
mediastreamtrack.getsources在chrome中工作,但firefox报告TypeError:MediaStreamTrack.getSources不是函数。我正在运行firefox版本25.0.1
谢谢!
解决方案
MediaDevices.enumerateDevices()$ c Firefox和Chrome现在支持$ c>
。
is there an equivalent way to get the list of video devices connected to the PC? I have an external webcam connection in addition to the build-in one.
mediastreamtrack.getsources is working in chrome but firefox reported "TypeError: MediaStreamTrack.getSources is not a function". I am running firefox version 25.0.1
Thanks!
解决方案
MediaDevices.enumerateDevices()
is now supported by Firefox and Chrome.
这篇关于firefox不支持mediastreamtrack.getsources,如何做等效的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!
查看全文