mirror of
https://github.com/AyuGram/AyuGramDesktop.git
synced 2025-06-05 06:33:57 +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 };
|
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…
Add table
Reference in a new issue