зеркало из https://github.com/mozilla/gecko-dev.git
Bug 1313758 - set media.getusermedia.browser.enabled to default false; r=jesup
MozReview-Commit-ID: 54YTn2p4nnX --HG-- extra : rebase_source : 0af857dfa795d66c0e507ad69e70ea568cb638b2
This commit is contained in:
Родитель
bbc327ff71
Коммит
ce8dfdec61
|
@ -23,8 +23,10 @@
|
|||
return;
|
||||
}
|
||||
var testVideo = createMediaElement('video', 'testVideo');
|
||||
var pushPrefs = (...p) => SpecialPowers.pushPrefEnv({set: p});
|
||||
|
||||
return Promise.resolve()
|
||||
.then(() => pushPrefs(["media.getusermedia.browser.enabled", true]))
|
||||
.then(() => getUserMedia({
|
||||
video: { mediaSource: "browser",
|
||||
scrollWithPage: true },
|
||||
|
|
|
@ -467,7 +467,7 @@ pref("media.navigator.video.h264.max_mbps", 0);
|
|||
pref("media.peerconnection.video.h264_enabled", false);
|
||||
pref("media.peerconnection.video.vp9_enabled", true);
|
||||
pref("media.getusermedia.aec", 1);
|
||||
pref("media.getusermedia.browser.enabled", true);
|
||||
pref("media.getusermedia.browser.enabled", false);
|
||||
#endif
|
||||
// Gonk typically captures at QVGA, and so min resolution is QQVGA or
|
||||
// 160x120; 100Kbps is plenty for that.
|
||||
|
|
Загрузка…
Ссылка в новой задаче