Added fec_percentage as configurable variable

This commit is contained in:
loki
2019-12-11 23:37:20 +01:00
parent e0c1e4ec55
commit c819664e33
4 changed files with 16 additions and 6 deletions

View File

@@ -28,7 +28,8 @@ video_t video {
};
stream_t stream {
2s // ping_timeout
2s, // ping_timeout
13 // fecPercentage
};
nvhttp_t nvhttp {
@@ -136,6 +137,8 @@ void parse_file(const char *file) {
if(to > 0) {
stream.ping_timeout = std::chrono::milliseconds(to);
}
int_f(vars, "fec_percentage", stream.fec_percentage);
}