Constant bitrate option as default for streaming

This commit is contained in:
dec05eba
2024-10-12 17:43:27 +02:00
parent 9d76b0861e
commit dfafdd9ef5
5 changed files with 25 additions and 4 deletions

View File

@@ -12,6 +12,10 @@
#define CONFIG_FILE_VERSION 1
namespace gsr {
Config::Config() {
streaming_config.record_options.video_quality = "custom";
}
static std::optional<KeyValue> parse_key_value(std::string_view line) {
const size_t space_index = line.find(' ');
if(space_index == std::string_view::npos)