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

Consumer: Do not send RTCP SR if paused

上级 dfb55e5a
...@@ -599,7 +599,7 @@ namespace RTC ...@@ -599,7 +599,7 @@ namespace RTC
{ {
MS_TRACE(); MS_TRACE();
if (!IsEnabled()) if (!IsEnabled() || IsPaused())
return; return;
if (static_cast<float>((now - this->lastRtcpSentTime) * 1.15) < this->maxRtcpInterval) if (static_cast<float>((now - this->lastRtcpSentTime) * 1.15) < this->maxRtcpInterval)
......
Markdown 格式
0% 或
您添加了 0 人 到此讨论。请谨慎行事。
请先完成此评论的编辑!
请 注册 或者 后发表评论