Skip to content
Snippets Groups Projects

Multiple stream qualities per client

1 file
+ 4
1
Compare changes
  • Side-by-side
  • Inline
@@ -438,7 +438,7 @@ static bool findConfiguration(const string &file, const vector<string> &paths) {
@@ -438,7 +438,7 @@ static bool findConfiguration(const string &file, const vector<string> &paths) {
}
}
if (found) {
if (found) {
_indexConfig(config);
//_indexConfig(config);
return true;
return true;
} else {
} else {
return false;
return false;
@@ -593,6 +593,9 @@ Configurable *ftl::config::configure(int argc, char **argv, const std::string &r
@@ -593,6 +593,9 @@ Configurable *ftl::config::configure(int argc, char **argv, const std::string &r
string root_str = (options.find("root") != options.end()) ? nlohmann::json::parse(options["root"]).get<string>() : root;
string root_str = (options.find("root") != options.end()) ? nlohmann::json::parse(options["root"]).get<string>() : root;
 
if (options.find("id") != options.end()) config["$id"] = nlohmann::json::parse(options["id"]).get<string>();
 
_indexConfig(config);
 
Configurable *rootcfg = create<Configurable>(config);
Configurable *rootcfg = create<Configurable>(config);
if (root_str.size() > 0) {
if (root_str.size() > 0) {
LOG(INFO) << "Setting root to " << root_str;
LOG(INFO) << "Setting root to " << root_str;
Loading