Bug 1592140 - enable platform encoder and HW H.264 support on Android. r=jya
authorJohn Lin <jolin@mozilla.com>
Mon, 06 Jan 2020 12:00:34 +0000
changeset 508895 65db57bdc16b0d1c982a916faba4fa1c581f868f
parent 508894 fc9ac6839a9eed6ce43943da3b3a5898d7b7b449
child 508896 c789df12feec16c1293b36ee8b0f6d869f3a0e95
push id104283
push userjolin@mozilla.com
push dateMon, 06 Jan 2020 12:34:10 +0000
treeherderautoland@c789df12feec [default view] [failures only]
perfherder[talos] [build metrics] [platform microbench] (compared to previous push)
reviewersjya
bugs1592140
milestone73.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
@@ -6559,31 +6559,39 @@
 
 - name: media.hardwaremediakeys.enabled
   type: bool
   value: @IS_NIGHTLY_BUILD@
   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
 
  # If true, then we require explicit approval from the embedding app (ex. Fenix)
  # on GeckoView to know if we can allow audible, inaudible media or both kinds
  # of media to autoplay.
 - name: media.geckoview.autoplay.request
   type: bool
   value: false