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

gulp format

上级 2260ee57
......@@ -17,8 +17,8 @@ namespace RTC
virtual void OnRtpStreamRecvNackRequired(
RTC::RtpStreamRecv* rtpStream, const std::vector<uint16_t>& seqNumbers) = 0;
virtual void OnRtpStreamRecvPliRequired(RTC::RtpStreamRecv* rtpStream) = 0;
virtual void OnRtpStreamInactive(RTC::RtpStream* rtpStream) = 0;
virtual void OnRtpStreamActive(RTC::RtpStream* rtpStream) = 0;
virtual void OnRtpStreamInactive(RTC::RtpStream* rtpStream) = 0;
virtual void OnRtpStreamActive(RTC::RtpStream* rtpStream) = 0;
};
public:
......@@ -65,7 +65,7 @@ namespace RTC
// Stats.
uint32_t jitter{ 0 };
// Others.
bool active { true };
bool active{ true };
};
inline bool RtpStreamRecv::IsActive() const
......
......@@ -793,7 +793,7 @@ namespace RTC
for (auto it : this->mapActiveProfiles)
{
auto activeRtpStream = it.second;
auto ssrc = activeRtpStream->GetSsrc();
auto ssrc = activeRtpStream->GetSsrc();
totalBitrate += this->rtpStreams[ssrc]->GetRate(now);
}
......@@ -811,7 +811,7 @@ namespace RTC
for (auto it : this->mapActiveProfiles)
{
auto activeRtpStream = it.second;
auto ssrc = activeRtpStream->GetSsrc();
auto ssrc = activeRtpStream->GetSsrc();
this->rtpStreams[ssrc]->ResetStatusCheckTimer(RTC::RtpStream::StatusCheckPeriod * 2);
}
......
......@@ -19,8 +19,7 @@ namespace RTC
/* Instance methods. */
RtpStreamSend::RtpStreamSend(
Listener* listener, RTC::RtpStream::Params& params, size_t bufferSize)
RtpStreamSend::RtpStreamSend(Listener* listener, RTC::RtpStream::Params& params, size_t bufferSize)
: RtpStream::RtpStream(params), listener(listener), storage(bufferSize)
{
MS_TRACE();
......
Markdown 格式
0% 或
您添加了 0 人 到此讨论。请谨慎行事。
请先完成此评论的编辑!
请 注册 或者 后发表评论