提交 7a8676bf authored 作者: José Luis Millán's avatar José Luis Millán

Move line.

上级 3b2f6c0d
...@@ -649,12 +649,12 @@ namespace RTC ...@@ -649,12 +649,12 @@ namespace RTC
// is single stream or simulcast/SVC. // is single stream or simulcast/SVC.
if (this->profiles.empty()) if (this->profiles.empty())
{ {
this->effectiveProfile = RtpEncodingParameters::Profile::NONE;
if (this->effectiveProfile != RtpEncodingParameters::Profile::DEFAULT) if (this->effectiveProfile != RtpEncodingParameters::Profile::DEFAULT)
newProfile = RtpEncodingParameters::Profile::NONE; newProfile = RtpEncodingParameters::Profile::NONE;
else else
newProfile = RtpEncodingParameters::Profile::DEFAULT; newProfile = RtpEncodingParameters::Profile::DEFAULT;
this->effectiveProfile = RtpEncodingParameters::Profile::NONE;
} }
// If there is no preferred profile, take the best one available. // If there is no preferred profile, take the best one available.
else if (this->preferredProfile == RTC::RtpEncodingParameters::Profile::DEFAULT) else if (this->preferredProfile == RTC::RtpEncodingParameters::Profile::DEFAULT)
......
Markdown 格式
0% 或
您添加了 0 人 到此讨论。请谨慎行事。
请先完成此评论的编辑!
请 注册 或者 后发表评论