Bug 1134398 - Enable MSE for youtube on MacOS X release builds. r=ajones, a=lmandel
authorRalph Giles <giles@mozilla.com>
Wed, 18 Feb 2015 15:37:00 -0800
changeset 249860 e2c205d7cea5d589cd870e66512c144a17fc8bfc
parent 249859 c1d8467a5119576e20086a5380eb8135950d55e4
child 249861 77d5e3a304359aae428d3a445dd7b95eb89e0597
push id4489
push userraliiev@mozilla.com
push dateMon, 23 Feb 2015 15:17:55 +0000
treeherdermozilla-beta@fd7c3dc24146 [default view] [failures only]
perfherder[talos] [build metrics] [platform microbench] (compared to previous push)
reviewersajones, lmandel
bugs1134398
milestone37.0a2
Bug 1134398 - Enable MSE for youtube on MacOS X release builds. r=ajones, a=lmandel We believe we can support both MacOS X and Windows now.
modules/libpref/init/all.js
--- a/modules/libpref/init/all.js
+++ b/modules/libpref/init/all.js
@@ -424,21 +424,21 @@ pref("media.getusermedia.screensharing.a
 
 // TextTrack support
 pref("media.webvtt.enabled", true);
 pref("media.webvtt.regions.enabled", false);
 
 // AudioTrack and VideoTrack support
 pref("media.track.enabled", false);
 
-// Whether to enable MediaSource support.  We want to enable on non-release
-// builds and on release windows, but on release builds restrict to YouTube.  We
-// don't enable for YouTube on non-Windows for now because the MP4 code for
-// those platforms isn't ready yet.
-#if defined(XP_WIN) || !defined(RELEASE_BUILD)
+// Whether to enable MediaSource support.
+// We want to enable on non-release  builds and on release windows and mac
+// but on release builds restrict to YouTube. We don't enable for other
+// configurations because code for those platforms isn't ready yet.
+#if defined(XP_WIN) || defined(XP_MACOSX) || !defined(RELEASE_BUILD)
 pref("media.mediasource.enabled", true);
 #else
 pref("media.mediasource.enabled", false);
 #endif
 
 #ifdef RELEASE_BUILD
 pref("media.mediasource.youtubeonly", true);
 #else