Bug 1592140 - enable platform encoder and HW H.264 support on Android. r=jya
☠☠ backed out by d73cfe3a04e9 ☠ ☠
authorJohn Lin <jolin@mozilla.com>
Tue, 05 Nov 2019 23:58:02 +0000
changeset 500756 1f116128f81b8ef40a893ef39242d21992faa928
parent 500755 c3e1a405a3765c3002e5ba3aea860bc118ffdba2
child 500757 d81f060fbe2b5160df314e92f86c0b36d1e3a5c2
push id99814
push userjolin@mozilla.com
push dateWed, 06 Nov 2019 02:14:03 +0000
treeherderautoland@1f116128f81b [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
@@ -6346,31 +6346,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.