Bug 1592140 - enable platform encoder and HW H.264 support on Android. r=jya
☠☠ backed out by 08ad786aea86 ☠ ☠
authorJohn Lin <jolin@mozilla.com>
Sat, 16 Nov 2019 00:30:26 +0000
changeset 502697 382a205bcb3e3d41be3e73fe02a1831ea8d7a057
parent 502696 021cd685f15187a3e1b5249f9bccb4f39cc4c080
child 502698 998ab0bd0e35beee827d02f3fde27948c83c243f
push id100989
push userjolin@mozilla.com
push dateTue, 19 Nov 2019 22:32:28 +0000
treeherderautoland@998ab0bd0e35 [default view] [failures only]
perfherder[talos] [build metrics] [platform microbench] (compared to previous push)
reviewersjya
bugs1592140
milestone72.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 1592140 - enable platform encoder and HW H.264 support on Android. r=jya Differential Revision: https://phabricator.services.mozilla.com/D51945
modules/libpref/init/StaticPrefList.yaml
--- a/modules/libpref/init/StaticPrefList.yaml
+++ b/modules/libpref/init/StaticPrefList.yaml
@@ -6400,31 +6400,39 @@
 
 - name: media.hardwaremediakeys.enabled
   type: bool
   value: false
   mirror: always
 
 - name: media.webrtc.platformencoder
   type: bool
-  value: false
+#if defined(MOZ_WIDGET_ANDROID)
+  value: true
+#else
+  value: false
+#endif
   mirror: always
 
 - name: media.block-autoplay-until-in-foreground
   type: bool
 #if !defined(MOZ_WIDGET_ANDROID)
   value: true
 #else
   value: false
 #endif
   mirror: always
 
 - name: media.webrtc.hw.h264.enabled
   type: bool
-  value: false
+#if defined(MOZ_WIDGET_ANDROID)
+  value: true
+#else
+  value: false
+#endif
   mirror: always
 
 #---------------------------------------------------------------------------
 # Prefs starting with "mousewheel."
 #---------------------------------------------------------------------------
 
 # This affects how line scrolls from wheel events will be accelerated.
 # Factor to be multiplied for constant acceleration.