mirror of
https://github.com/AyuGram/AyuGramDesktop.git
synced 2025-04-19 07:37:11 +02:00
Don't use AEC on modern macOS.
This commit is contained in:
parent
e273695cc9
commit
935232eaa2
1 changed files with 4 additions and 0 deletions
|
@ -451,7 +451,11 @@ void Call::createAndStartController(const MTPDphoneCall &call) {
|
|||
|
||||
voip_config_t config = { 0 };
|
||||
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;
|
||||
#endif // Q_OS_MAC
|
||||
config.enableNS = true;
|
||||
config.enableAGC = true;
|
||||
config.init_timeout = Global::CallConnectTimeoutMs() / 1000;
|
||||
|
|
Loading…
Add table
Reference in a new issue