Add config to streamer

This commit is contained in:
2021-07-06 11:24:11 +02:00
parent b33d13b595
commit 881491220e
2 changed files with 24 additions and 6 deletions
+4 -4
View File
@@ -17,16 +17,16 @@ struct StreamSendConfig {
return {
config_parameters["detector_name"].GetString(),
config_parameters["detector_type"].GetString(),
config_parameters["n_modules"].GetInt(),
config_parameters["start_udp_port"].GetInt(),
config_parameters["image_n_pixels"].GetInt(),
config_parameters["stream_address"].GetString()
};
}
const std::string detector_name;
const std::string detector_type;
const int n_modules;
const int start_udp_port;
const int image_n_pixels;
const std::string stream_address;
};