Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(579)

Unified Diff: webrtc/modules/pacing/paced_sender.cc

Issue 2503643003: More reliable ALR detection (Closed)
Patch Set: const Created 4 years, 1 month ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
« no previous file with comments | « webrtc/modules/pacing/alr_detector_unittest.cc ('k') | no next file » | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: webrtc/modules/pacing/paced_sender.cc
diff --git a/webrtc/modules/pacing/paced_sender.cc b/webrtc/modules/pacing/paced_sender.cc
index d38154a2416e66db5ab42d81c68687a8afe8b9af..445d116ed709154d3dbe52c99d4a6db822f62cd1 100644
--- a/webrtc/modules/pacing/paced_sender.cc
+++ b/webrtc/modules/pacing/paced_sender.cc
@@ -451,7 +451,7 @@ void PacedSender::Process() {
}
if (is_probing && bytes_sent > 0)
prober_->ProbeSent(clock_->TimeInMilliseconds(), bytes_sent);
- alr_detector_->OnBytesSent(bytes_sent, elapsed_time_ms);
+ alr_detector_->OnBytesSent(bytes_sent, now_us / 1000);
}
bool PacedSender::SendPacket(const paced_sender::Packet& packet,
« no previous file with comments | « webrtc/modules/pacing/alr_detector_unittest.cc ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698