Start a client when a headset connects

This commit is contained in:
Guillaume Meunier
2022-12-17 20:12:47 +01:00
committed by Patrick Nicolas
parent fb8de394c3
commit d9ac2b84b5
3 changed files with 111 additions and 22 deletions
+8
View File
@@ -99,6 +99,14 @@ configuration configuration::read_user_configuration()
result.encoders.push_back(e);
}
}
if (json.contains("application"))
{
if (json["application"].is_string())
result.application.push_back(json["application"]);
else
result.application = json["application"];
}
}
catch (const std::exception & e)
{