提交 6daec798 authored 作者: José Luis Millán's avatar José Luis Millán

use SetEffectiveProfile

上级 9fe70b1c
...@@ -658,7 +658,7 @@ namespace RTC ...@@ -658,7 +658,7 @@ namespace RTC
else else
newProfile = RtpEncodingParameters::Profile::DEFAULT; newProfile = RtpEncodingParameters::Profile::DEFAULT;
this->effectiveProfile = RtpEncodingParameters::Profile::NONE; SetEffectiveProfile(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 人 到此讨论。请谨慎行事。
请先完成此评论的编辑!
请 注册 或者 后发表评论