mirror of
https://github.com/telegramdesktop/tdesktop
synced 2024-12-24 23:42:58 +00:00
Don't use AEC on modern macOS.
This commit is contained in:
parent
e273695cc9
commit
935232eaa2
@ -451,7 +451,11 @@ void Call::createAndStartController(const MTPDphoneCall &call) {
|
|||||||
|
|
||||||
voip_config_t config = { 0 };
|
voip_config_t config = { 0 };
|
||||||
config.data_saving = DATA_SAVING_NEVER;
|
config.data_saving = DATA_SAVING_NEVER;
|
||||||
|
#ifdef Q_OS_MAC
|
||||||
|
config.enableAEC = (QSysInfo::macVersion() < QSysInfo::MV_10_7);
|
||||||
|
#else // Q_OS_MAC
|
||||||
config.enableAEC = true;
|
config.enableAEC = true;
|
||||||
|
#endif // Q_OS_MAC
|
||||||
config.enableNS = true;
|
config.enableNS = true;
|
||||||
config.enableAGC = true;
|
config.enableAGC = true;
|
||||||
config.init_timeout = Global::CallConnectTimeoutMs() / 1000;
|
config.init_timeout = Global::CallConnectTimeoutMs() / 1000;
|
||||||
|
Loading…
Reference in New Issue
Block a user