Bug 1444074 - Enable full-duplex by default for all platforms. r=padenot, a=ritu
authorJan Beich <jbeich@FreeBSD.org>
Thu, 08 Mar 2018 14:12:28 +0000
changeset 455145 37e4e6f9c39e27822429c5ff4597ea262682d7b3
parent 455144 ab355ea017aa7e641a0b17d4b21fa86beb3aa207
child 455146 08e0ad2361423fd39b7b00db3045c4fb3a23d564
push id1678
push userryanvm@gmail.com
push dateFri, 23 Mar 2018 15:49:52 +0000
treeherdermozilla-release@239e434d6d2b [default view] [failures only]
perfherder[talos] [build metrics] [platform microbench] (compared to previous push)
reviewerspadenot, ritu
bugs1444074
milestone59.0.2
Bug 1444074 - Enable full-duplex by default for all platforms. r=padenot, a=ritu MozReview-Commit-ID: LUvReTPd1TA
modules/libpref/init/all.js
--- a/modules/libpref/init/all.js
+++ b/modules/libpref/init/all.js
@@ -517,35 +517,28 @@ pref("media.getusermedia.noise_enabled",
 #endif
 pref("media.getusermedia.aec_extended_filter", true);
 pref("media.getusermedia.noise", 1);
 pref("media.getusermedia.agc_enabled", false);
 pref("media.getusermedia.agc", 3); // kAgcAdaptiveDigital
 // capture_delay: Adjustments for OS-specific input delay (lower bound)
 // playout_delay: Adjustments for OS-specific AudioStream+cubeb+output delay (lower bound)
 // full_duplex: enable cubeb full-duplex capture/playback
+pref("media.navigator.audio.full_duplex", true);
 #if defined(XP_MACOSX)
 pref("media.peerconnection.capture_delay", 50);
-pref("media.navigator.audio.full_duplex", true);
 #elif defined(XP_WIN)
 pref("media.peerconnection.capture_delay", 50);
-pref("media.navigator.audio.full_duplex", true);
 #elif defined(ANDROID)
 pref("media.peerconnection.capture_delay", 100);
-pref("media.navigator.audio.full_duplex", true);
 pref("media.navigator.hardware.vp8_encode.acceleration_enabled", true);
 pref("media.navigator.hardware.vp8_encode.acceleration_remote_enabled", true);
 pref("media.navigator.hardware.vp8_decode.acceleration_enabled", false);
-#elif defined(XP_LINUX) || defined(MOZ_SNDIO)
+#else
 pref("media.peerconnection.capture_delay", 70);
-pref("media.navigator.audio.full_duplex", true);
-#else
-// *BSD, others - merely a guess for now
-pref("media.peerconnection.capture_delay", 50);
-pref("media.navigator.audio.full_duplex", false);
 #endif
 // Use MediaDataDecoder API for WebRTC, this includes hardware acceleration for
 // decoding.
 pref("media.navigator.mediadatadecoder_enabled", false);
 #endif
 
 pref("dom.webaudio.enabled", true);