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

Cosmetic

上级 1a4a8ae2
......@@ -42,8 +42,8 @@ namespace RTC
bool IsEnabled() const;
const RTC::RtpParameters& GetParameters() const;
bool IsPaused() const;
void SetSourcePaused();
void SetSourceResumed();
void SourcePaused();
void SourceResumed();
void SendRtpPacket(RTC::RtpPacket* packet);
void GetRtcp(RTC::RTCP::CompoundPacket* packet, uint64_t now);
void ReceiveNack(RTC::RTCP::FeedbackRtpNackPacket* nackPacket);
......@@ -111,7 +111,7 @@ namespace RTC
return this->paused || this->sourcePaused;
}
inline void Consumer::SetSourcePaused()
inline void Consumer::SourcePaused()
{
if (this->sourcePaused)
return;
......@@ -125,7 +125,7 @@ namespace RTC
Pause();
}
inline void Consumer::SetSourceResumed()
inline void Consumer::SourceResumed()
{
if (!this->sourcePaused)
return;
......
......@@ -459,7 +459,7 @@ namespace RTC
// If the Producer is paused tell it to the new Consumer.
if (producer->IsPaused())
consumer->SetSourcePaused();
consumer->SourcePaused();
// Add us as listener.
consumer->AddListener(this);
......@@ -888,7 +888,7 @@ namespace RTC
for (auto* consumer : consumers)
{
consumer->SetSourcePaused();
consumer->SourcePaused();
}
}
......@@ -904,7 +904,7 @@ namespace RTC
for (auto* consumer : consumers)
{
consumer->SetSourceResumed();
consumer->SourceResumed();
}
}
......
Markdown 格式
0% 或
您添加了 0 人 到此讨论。请谨慎行事。
请先完成此评论的编辑!
请 注册 或者 后发表评论