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

Add "simulcast" and "svc" logTags

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