【发布时间】:2016-09-26 09:14:39
【问题描述】:
我正在为 firefox webRTC 屏幕共享尝试此测试 https://mozilla.github.io/webrtc-landing/gum_test.html。 它需要在 about:config 中添加
media.getusermedia.screensharing.enabled
为真并添加域名
media.getusermedia.screensharing.allowed_domains
有一种方法可以做到这一点:在 mozilla 用户配置文件中更改 prefs.js 文件。但我不想那样做。有没有像扩展(chrome提供这个)这样的其他方式通过代码来完成这个任务?
【问题讨论】:
标签: javascript firefox firefox-addon webrtc screensharing