Unverified 提交 f8fb2ff4 authored 作者: Jagger Yu's avatar Jagger Yu 提交者: GitHub

Fix some typo (#765)

上级 d014f540
...@@ -148,7 +148,7 @@ namespace RTC ...@@ -148,7 +148,7 @@ namespace RTC
} }
uint32_t GetSenderReportTs() const uint32_t GetSenderReportTs() const
{ {
return this->lastSenderReporTs; return this->lastSenderReportTs;
} }
uint8_t GetScore() const uint8_t GetScore() const
{ {
...@@ -198,7 +198,7 @@ namespace RTC ...@@ -198,7 +198,7 @@ namespace RTC
0u 0u
}; // Packets retransmitted at last interval for score calculation. }; // Packets retransmitted at last interval for score calculation.
uint64_t lastSenderReportNtpMs{ 0u }; // NTP timestamp in last Sender Report (in ms). uint64_t lastSenderReportNtpMs{ 0u }; // NTP timestamp in last Sender Report (in ms).
uint32_t lastSenderReporTs{ 0u }; // RTP timestamp in last Sender Report. uint32_t lastSenderReportTs{ 0u }; // RTP timestamp in last Sender Report.
float rtt{ 0 }; float rtt{ 0 };
bool hasRtt{ false }; bool hasRtt{ false };
// Instance of RtxStream. // Instance of RtxStream.
......
...@@ -523,7 +523,7 @@ namespace RTC ...@@ -523,7 +523,7 @@ namespace RTC
ntp.fractions = report->GetNtpFrac(); ntp.fractions = report->GetNtpFrac();
this->lastSenderReportNtpMs = Utils::Time::Ntp2TimeMs(ntp); this->lastSenderReportNtpMs = Utils::Time::Ntp2TimeMs(ntp);
this->lastSenderReporTs = report->GetRtpTs(); this->lastSenderReportTs = report->GetRtpTs();
// Update the score with the current RR. // Update the score with the current RR.
UpdateScore(); UpdateScore();
......
...@@ -209,7 +209,7 @@ namespace RTC ...@@ -209,7 +209,7 @@ namespace RTC
// Update info about last Sender Report. // Update info about last Sender Report.
this->lastSenderReportNtpMs = nowMs; this->lastSenderReportNtpMs = nowMs;
this->lastSenderReporTs = this->maxPacketTs + diffTs; this->lastSenderReportTs = this->maxPacketTs + diffTs;
return report; return report;
} }
......
Markdown 格式
0% 或
您添加了 0 人 到此讨论。请谨慎行事。
请先完成此评论的编辑!
请 注册 或者 后发表评论