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

Fix crash

上级 4b7512ec
...@@ -15,9 +15,9 @@ ...@@ -15,9 +15,9 @@
#include "handles/Timer.hpp" #include "handles/Timer.hpp"
#include <json/json.h> #include <json/json.h>
#include <map> #include <map>
#include <set>
#include <string> #include <string>
#include <unordered_set> #include <unordered_set>
#include <set>
#include <vector> #include <vector>
namespace RTC namespace RTC
...@@ -177,6 +177,9 @@ namespace RTC ...@@ -177,6 +177,9 @@ namespace RTC
{ {
auto profile = it2; auto profile = it2;
if (profile == RTC::RtpEncodingParameters::Profile::DEFAULT)
break;
profiles.insert(profile); profiles.insert(profile);
} }
} }
......
Markdown 格式
0% 或
您添加了 0 人 到此讨论。请谨慎行事。
请先完成此评论的编辑!
请 注册 或者 后发表评论