Commit cb486098 authored by Matthieu Tanon's avatar Matthieu Tanon

Access max_nb_device_per_participant directly from config

parent 37039a16
......@@ -115,7 +115,6 @@ LimeV2::LimeV2 (const std::string &dbAccess, belle_http_provider_t *prov, Linpho
_dbAccess = dbAccess;
belleSipLimeManager = unique_ptr<BelleSipLimeManager>(new BelleSipLimeManager(dbAccess, prov, lc));
lastLimeUpdate = linphone_config_get_int(lc->config, "lime", "last_lime_update_time", 0);
maxNbDevicePerParticipant = linphone_config_get_int(lc->config, "lime", "max_nb_device_per_participant", 1); // TODO discuss default value
}
string LimeV2::getX3dhServerUrl () const {
......
......@@ -91,7 +91,6 @@ public:
private:
std::shared_ptr<BelleSipLimeManager> belleSipLimeManager;
int maxNbDevicePerParticipant;
std::time_t lastLimeUpdate;
std::string x3dhServerUrl;
std::string _dbAccess;
......
Markdown is supported
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