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

gulp format

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