Bug 974537: Make output+input delay for AEC platform-dependent rs=jmspeex,mreavy,drno

This commit is contained in:
Randell Jesup 2014-02-28 16:07:07 -05:00
parent ace355561d
commit cee5b432cb

View File

@ -263,6 +263,19 @@ pref("media.peerconnection.agc_enabled", false);
pref("media.peerconnection.agc", 1);
pref("media.peerconnection.noise_enabled", false);
pref("media.peerconnection.noise", 1);
// Adjustments for OS mediastream+output+OS+input delay (lower bound)
#if defined(XP_MACOSX)
pref("media.peerconnection.capture_delay", 50);
#elif defined(XP_WIN)
pref("media.peerconnection.capture_delay", 50);
#elif defined(ANDROID)
pref("media.peerconnection.capture_delay", 100);
#elif defined(XP_LINUX)
pref("media.peerconnection.capture_delay", 70);
#else
// *BSD, others - merely a guess for now
pref("media.peerconnection.capture_delay", 50);
#endif
#else
#ifdef ANDROID
pref("media.navigator.enabled", true);