Commit 5cc303df authored by Gaëlle Braud's avatar Gaëlle Braud
Browse files

fix set meeting feature enabled on linphone start

1 merge request!1353fix meeting feature enabled on start
Showing with 2 additions and 0 deletions
...@@ -67,6 +67,8 @@ SettingsModel::SettingsModel() { ...@@ -67,6 +67,8 @@ SettingsModel::SettingsModel() {
mustBeInLinphoneThread(log().arg(Q_FUNC_INFO)); mustBeInLinphoneThread(log().arg(Q_FUNC_INFO));
setDisableMeetingsFeature(!account->getParams()->getAudioVideoConferenceFactoryAddress()); setDisableMeetingsFeature(!account->getParams()->getAudioVideoConferenceFactoryAddress());
}); });
auto defaultAccount = core->getDefaultAccount();
setDisableMeetingsFeature(defaultAccount && !defaultAccount->getParams()->getAudioVideoConferenceFactoryAddress());
// Media cards must not be used twice (capture card + call) else we will get latencies issues and bad echo // Media cards must not be used twice (capture card + call) else we will get latencies issues and bad echo
// calibrations in call. // calibrations in call.
QObject::connect(CoreModel::getInstance().get(), &CoreModel::firstCallStarted, this, QObject::connect(CoreModel::getInstance().get(), &CoreModel::firstCallStarted, this,
......
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment