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

libwebrtc: TCC client, ignore available bitrates equal to the initially given one

上级 b01626cd
......@@ -283,6 +283,19 @@ namespace RTC
{
MS_TRACE();
// NOTE: The same value as 'this->initialAvailableBitrate' is received periodically
// regardless of the real available bitrate. Skip such value except for the first time
// this event is called.
// clang-format off
if (
this->availableBitrateEventCalled &&
targetTransferRate.target_rate.bps() == this->initialAvailableBitrate
)
// clang-format on
{
return;
}
auto previousAvailableBitrate = this->bitrates.availableBitrate;
// Update availableBitrate.
......
Markdown 格式
0% 或
您添加了 0 人 到此讨论。请谨慎行事。
请先完成此评论的编辑!
请 注册 或者 后发表评论