Bug 1592140 - enable platform encoder and HW H.264 support on Android. r=jya
☠☠ backed out by 26dedaf63bf5 ☠ ☠
authorJohn Lin <jolin@mozilla.com>
Tue, 19 Nov 2019 23:12:02 +0000
changeset 502731 efe989cdf1464ee077b0abe7c24795e0a15e578d
parent 502730 a6913f4d5a14bcf37bf754e10e6fea35f63e0016
child 502732 edb87ed43383c03cc6dd9644c785e3990854081e
push id101018
push userjolin@mozilla.com
push dateWed, 20 Nov 2019 01:24:39 +0000
treeherderautoland@edb87ed43383 [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.