提交 78851605 authored 作者: Iñaki Baz Castillo's avatar Iñaki Baz Castillo

Add "simulcast" and "svc" logTags

上级 7eb93fda
...@@ -22,6 +22,8 @@ public: ...@@ -22,6 +22,8 @@ public:
bool rtx{ false }; bool rtx{ false };
bool rbe{ false }; bool rbe{ false };
bool score{ false }; bool score{ false };
bool simulcast{ false };
bool svc{ false };
}; };
public: public:
......
...@@ -191,6 +191,10 @@ void Settings::PrintConfiguration() ...@@ -191,6 +191,10 @@ void Settings::PrintConfiguration()
logTags.emplace_back("rbe"); logTags.emplace_back("rbe");
if (Settings::configuration.logTags.score) if (Settings::configuration.logTags.score)
logTags.emplace_back("score"); logTags.emplace_back("score");
if (Settings::configuration.logTags.simulcast)
logTags.emplace_back("simulcast");
if (Settings::configuration.logTags.svc)
logTags.emplace_back("svc");
if (!logTags.empty()) if (!logTags.empty())
{ {
...@@ -308,6 +312,10 @@ void Settings::SetLogTags(const std::vector<std::string>& tags) ...@@ -308,6 +312,10 @@ void Settings::SetLogTags(const std::vector<std::string>& tags)
newLogTags.rbe = true; newLogTags.rbe = true;
else if (tag == "score") else if (tag == "score")
newLogTags.score = true; newLogTags.score = true;
else if (tag == "simulcast")
newLogTags.simulcast = true;
else if (tag == "svc")
newLogTags.svc = true;
} }
Settings::configuration.logTags = newLogTags; Settings::configuration.logTags = newLogTags;
......
Markdown 格式
0% 或
您添加了 0 人 到此讨论。请谨慎行事。
请先完成此评论的编辑!
请 注册 或者 后发表评论