Bug 1221580 - Use duplex when sndio is enabled. r=gaston

MozReview-Commit-ID: E5EhoakY6EM

--HG--
extra : rebase_source : 7b8ac5a9c01d66a0bcf6bd1a095455df0af33aa9
This commit is contained in:
Paul Adenot 2017-11-03 16:12:35 +01:00
Родитель 8ad630e34b
Коммит 218f7ce203
1 изменённых файлов: 2 добавлений и 2 удалений

Просмотреть файл

@ -550,7 +550,7 @@ 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)
#elif defined(XP_LINUX) || defined(MOZ_SNDIO)
pref("media.peerconnection.capture_delay", 70);
pref("media.getusermedia.playout_delay", 50);
pref("media.navigator.audio.full_duplex", true);
@ -558,7 +558,7 @@ pref("media.navigator.audio.full_duplex", true);
// *BSD, others - merely a guess for now
pref("media.peerconnection.capture_delay", 50);
pref("media.getusermedia.playout_delay", 50);
pref("media.navigator.audio.full_duplex", false);
pref("media.navigator.audio.full_duplex", true);
#endif
// Use MediaDataDecoder API for WebRTC, this includes hardware acceleration for
// decoding.