Bug 1386974 - set the preference for android hardware encoder to true in default. r=jib
authorMunro Mengjue Chiang <mchiang@mozilla.com>
Thu, 03 Aug 2017 16:25:58 +0800
changeset 372913 a3061347739b017ac8f680049eebebc438a7371c
parent 372912 e65dc2bcc867930d4cadea96aa7c2907b5eea163
child 372914 cfca1dca30237449caa5551d7904f8437a4ce676
push id32284
push userarchaeopteryx@coole-files.de
push dateFri, 04 Aug 2017 17:19:17 +0000
treeherdermozilla-central@357ef8a67e88 [default view] [failures only]
perfherder[talos] [build metrics] [platform microbench] (compared to previous push)
reviewersjib
bugs1386974
milestone57.0a1
first release with
nightly linux32
nightly linux64
nightly mac
nightly win32
nightly win64
last release without
nightly linux32
nightly linux64
nightly mac
nightly win32
nightly win64
Bug 1386974 - set the preference for android hardware encoder to true in default. r=jib MozReview-Commit-ID: 1J9TuYhxevF
modules/libpref/init/all.js
--- a/modules/libpref/init/all.js
+++ b/modules/libpref/init/all.js
@@ -547,24 +547,18 @@ pref("media.navigator.audio.full_duplex"
 #elif defined(XP_WIN)
 pref("media.peerconnection.capture_delay", 50);
 pref("media.getusermedia.playout_delay", 40);
 pref("media.navigator.audio.full_duplex", true);
 #elif defined(ANDROID)
 pref("media.peerconnection.capture_delay", 100);
 pref("media.getusermedia.playout_delay", 100);
 pref("media.navigator.audio.full_duplex", true);
-// enable Webrtc Hardware acceleration in nightly
-#ifdef NIGHTLY_BUILD
 pref("media.navigator.hardware.vp8_encode.acceleration_enabled", true);
 pref("media.navigator.hardware.vp8_encode.acceleration_remote_enabled", true);
-#else
-pref("media.navigator.hardware.vp8_encode.acceleration_enabled", false);
-pref("media.navigator.hardware.vp8_encode.acceleration_remote_enabled", false);
-#endif
 pref("media.navigator.hardware.vp8_decode.acceleration_enabled", false);
 #elif defined(XP_LINUX)
 pref("media.peerconnection.capture_delay", 70);
 pref("media.getusermedia.playout_delay", 50);
 pref("media.navigator.audio.full_duplex", true);
 #else
 // *BSD, others - merely a guess for now
 pref("media.peerconnection.capture_delay", 50);